aboutsummaryrefslogtreecommitdiff
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
commitd29f489ece6bb8e5545bd1930ba02d8d78389cac (patch)
tree35c43ac0507f81666179d31bab650f101d12af97
parent1b19ef029574592ae25c42fdbc58987e3e2e6476 (diff)
Add test case for ADDC ADDE expansion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57228 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/Alpha/add128.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/add128.ll b/test/CodeGen/Alpha/add128.ll
new file mode 100644
index 0000000000..3f243d1805
--- /dev/null
+++ b/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
+}