new testcase
authorChris Lattner <sabre@nondot.org>
Sat, 4 Mar 2006 06:02:36 +0000 (06:02 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 4 Mar 2006 06:02:36 +0000 (06:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26518 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/add.ll

index 3de3f33310214d9792ff6d80f8ee6b3b74a0f448..52dfc39ef4c254d096820850d3392a65a4bc8c38 100644 (file)
@@ -213,3 +213,10 @@ long %test30(long %x) {
         %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
+}