diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2008-10-07 14:15:42 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2008-10-07 14:15:42 +0000 |
commit | 40d513960a50664c3c4130a40612a5e3673615ce (patch) | |
tree | e02dad5cf3297d5163e656bacdf7f2dc9cd5f55e /test/CodeGen | |
parent | cb73d19a4c8f28fa0d5f94f2ad19a897914185b1 (diff) | |
download | external_llvm-40d513960a50664c3c4130a40612a5e3673615ce.zip external_llvm-40d513960a50664c3c4130a40612a5e3673615ce.tar.gz external_llvm-40d513960a50664c3c4130a40612a5e3673615ce.tar.bz2 |
Expand arith on machines without carry flags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/Alpha/add128.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/Alpha/sub128.ll | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/test/CodeGen/Alpha/add128.ll b/test/CodeGen/Alpha/add128.ll index 6432b2d..61d0208 100644 --- a/test/CodeGen/Alpha/add128.ll +++ b/test/CodeGen/Alpha/add128.ll @@ -1,7 +1,6 @@ ;test for ADDC and ADDE expansion ; ; RUN: llvm-as < %s | llc -march=alpha -; XFAIL: * define i128 @add128(i128 %x, i128 %y) { entry: diff --git a/test/CodeGen/Alpha/sub128.ll b/test/CodeGen/Alpha/sub128.ll new file mode 100644 index 0000000..cb18559 --- /dev/null +++ b/test/CodeGen/Alpha/sub128.ll @@ -0,0 +1,9 @@ +;test for SUBC and SUBE expansion +; +; RUN: llvm-as < %s | llc -march=alpha + +define i128 @sub128(i128 %x, i128 %y) { +entry: + %tmp = sub i128 %y, %x + ret i128 %tmp +} |