New testcase
authorChris Lattner <sabre@nondot.org>
Wed, 6 Oct 2004 15:07:56 +0000 (15:07 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Oct 2004 15:07:56 +0000 (15:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16768 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/sub.ll

index 1a427eaae73cb444f91335637aa0872b12b6ef8d..21f61a08a714e073735b6a97c2492c3f974b9861 100644 (file)
@@ -99,3 +99,9 @@ int %test15(int %A, int %B) {
        %D = rem int %B, %C   ;; X % -Y === X % Y
        ret int %D
 }
+
+int %test16(int %A) {
+       %X = div int %A, 1123
+       %Y = sub int 0, %X
+       ret int %Y
+}