OSDN Git Service

Add test case for ADDC ADDE expansion
authorAndrew Lenharth <andrewl@lenharth.org>
Tue, 7 Oct 2008 02:30:13 +0000 (02:30 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Tue, 7 Oct 2008 02:30:13 +0000 (02:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57228 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Alpha/add128.ll [new file with mode: 0644]

diff --git a/test/CodeGen/Alpha/add128.ll b/test/CodeGen/Alpha/add128.ll
new file mode 100644 (file)
index 0000000..3f243d1
--- /dev/null
@@ -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
+}