commit | 5e8144612637f4e17ecf4048272b10e75bd1a604 | [log] [tgz] |
---|---|---|
author | Andrew Lenharth <alenhar2@cs.uiuc.edu> | Tue Oct 07 14:15:42 2008 +0000 |
committer | Andrew Lenharth <alenhar2@cs.uiuc.edu> | Tue Oct 07 14:15:42 2008 +0000 |
tree | e02dad5cf3297d5163e656bacdf7f2dc9cd5f55e | |
parent | 2c4e05a903d0df0353de5ab29bb315de55698c3e [diff] [blame] |
Expand arith on machines without carry flags git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57243 91177308-0d34-0410-b5e6-96231b3b80d8
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 +}