From: Chris Lattner Date: Fri, 5 Jan 2007 02:16:36 +0000 (+0000) Subject: new testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0a2c88dafc70ec58dba50e419d4f1e15bcc1f097;p=oota-llvm.git new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32889 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index 55eba647f8a..aaf8548c084 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -240,3 +240,9 @@ ubyte %test34(ubyte %A) { ret ubyte %C } +define i32 %test34(i32 %a) { ;; -> -1 + %tmpnot = xor i32 %a, -1 + %tmp2 = add i32 %tmpnot, %a + ret i32 %tmp2 +} +