new testcase I forgot to check in earlier
authorChris Lattner <sabre@nondot.org>
Sun, 5 Mar 2006 23:53:04 +0000 (23:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Mar 2006 23:53:04 +0000 (23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26565 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/add.ll

index 52dfc39ef4c254d096820850d3392a65a4bc8c38..81ab29a0962ea7100ed056cc00a0c312b73963f2 100644 (file)
@@ -220,3 +220,10 @@ int %test31(int %A) {
        %D = sub int %C, 20
        ret int %D
 }
+
+int %test32(int %A) {
+       %B = add int %A, 4
+       %C = shl int %B, ubyte 2
+       %D = sub int %C, 16
+       ret int %D
+}