New testcase
authorChris Lattner <sabre@nondot.org>
Sat, 9 Oct 2004 02:50:01 +0000 (02:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 9 Oct 2004 02:50:01 +0000 (02:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16862 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/sub.ll

index 21f61a08a714e073735b6a97c2492c3f974b9861..ae0a120cdd3ef538d66a41a81f8de03b4d75b5ec 100644 (file)
@@ -105,3 +105,9 @@ int %test16(int %A) {
        %Y = sub int 0, %X
        ret int %Y
 }
+
+int %test17(int %A) {
+       %B = sub int 0, %A
+       %C = div int %B, 1234
+       ret int %C
+}