summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2008-10-07 02:30:13 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2008-10-07 02:30:13 +0000
commit3b893a905eea107d96d4c76fe3365fcc3c3b7c8a (patch)
treea1fa25f10fb6ae36046c0c55e75e8b377bba0f66
parent64861a718173339a8cd94bb9133fd8bfc0c25736 (diff)
downloadllvm-3b893a905eea107d96d4c76fe3365fcc3c3b7c8a.tar.gz
Add test case for ADDC ADDE expansion
llvm-svn: 57228
-rw-r--r--llvm/test/CodeGen/Alpha/add128.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Alpha/add128.ll b/llvm/test/CodeGen/Alpha/add128.ll
new file mode 100644
index 000000000000..3f243d1805ba
--- /dev/null
+++ b/llvm/test/CodeGen/Alpha/add128.ll
@@ -0,0 +1,10 @@
+;test for ADDC and ADDE expansion
+;
+; RUN: llvm-as < %s | llc -march=alpha -o %t.s -f
+; XFAIL: *
+
+define i128 @add128(i128 %x, i128 %y) {
+entry:
+ %tmp = add i128 %y, %x
+ ret i128 %tmp
+}