[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/add.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 3 22:02:48 PST 2006
Changes in directory llvm/test/Regression/Transforms/InstCombine:
add.ll updated: 1.28 -> 1.29
---
Log message:
new testcase
---
Diffs of the changes: (+7 -0)
add.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/add.ll
diff -u llvm/test/Regression/Transforms/InstCombine/add.ll:1.28 llvm/test/Regression/Transforms/InstCombine/add.ll:1.29
--- llvm/test/Regression/Transforms/InstCombine/add.ll:1.28 Wed Nov 2 12:34:05 2005
+++ llvm/test/Regression/Transforms/InstCombine/add.ll Sat Mar 4 00:02:36 2006
@@ -213,3 +213,10 @@
%tmp.4 = add long %tmp.2, -9223372036854775808
ret long %tmp.4
}
+
+int %test31(int %A) {
+ %B = add int %A, 4
+ %C = mul int %B, 5
+ %D = sub int %C, 20
+ ret int %D
+}
More information about the llvm-commits
mailing list