From: Chris Lattner Date: Wed, 6 Oct 2004 15:07:56 +0000 (+0000) Subject: New testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=24c0532f50bd08b71fb81b55407f739e3d070fad;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16768 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll index 1a427eaae73..21f61a08a71 100644 --- a/test/Transforms/InstCombine/sub.ll +++ b/test/Transforms/InstCombine/sub.ll @@ -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 +}