new testcase
authorChris Lattner <sabre@nondot.org>
Thu, 7 Apr 2005 16:24:59 +0000 (16:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Apr 2005 16:24:59 +0000 (16:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21135 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/add.ll

index c9715635ea4cc86c7d2155e87684adb859625bd6..f06109342cee1bd11c85f9bf5e253c24d015908f 100644 (file)
@@ -191,3 +191,8 @@ int %test27(bool %C, int %X, int %Y) {
         ret int %D
 }
 
+int %test28(int %X) {
+       %Y = add int %X, 1234
+       %Z = sub int 42, %Y
+       ret int %Z
+}