From: Chris Lattner Date: Sat, 10 Apr 2004 22:01:27 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=770632451273658c49777392d4f8972a9a4be0cd;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12818 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index e7548fb81b5..8c99eac3970 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -123,4 +123,10 @@ int %test19(bool %C) { ret int %V } +int %test20(int %x) { + %tmp.2 = xor int %x, -2147483648 + ;; Add of sign bit -> xor of sign bit. + %tmp.4 = add int %tmp.2, -2147483648 + ret int %tmp.4 +}