summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Alpha
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2008-10-07 14:15:42 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2008-10-07 14:15:42 +0000
commit40d513960a50664c3c4130a40612a5e3673615ce (patch)
treee02dad5cf3297d5163e656bacdf7f2dc9cd5f55e /test/CodeGen/Alpha
parentcb73d19a4c8f28fa0d5f94f2ad19a897914185b1 (diff)
downloadexternal_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/Alpha')
-rw-r--r--test/CodeGen/Alpha/add128.ll1
-rw-r--r--test/CodeGen/Alpha/sub128.ll9
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
+}