From: Chris Lattner Date: Wed, 23 Jul 2003 19:05:29 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0afcd442a134b165d602e97924ceeb7ebb875a13;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7266 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index 529e43ced98..3cf8fc1f023 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -143,3 +143,10 @@ ubyte %test22(ubyte %A) { %E = xor ubyte %D, 12 ret ubyte %E } + +uint %test23(uint %A) { + %B = or uint %A, 4 ; Should be eliminated + %C = and uint %B, 8 + ret uint %C +} +