From: Chris Lattner Date: Fri, 8 Oct 2004 03:41:59 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d74634a885efdc8e509737e553a906b04a991575;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16833 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index 80f7402af9d..6359dde0bf2 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -163,3 +163,9 @@ endif: ret int %tmp.4 } +int %test24(int %A) { + %B = add int %A, 1 + %C = shl int %B, ubyte 1 + %D = sub int %C, 2 + ret int %D ;; A << 1 +}