From: Chris Lattner Date: Fri, 8 Oct 2004 05:03:25 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8797f5975878b7daab4ef15787dc649f6088c073;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16835 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 1b2dafb218d..e11be02997d 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -178,3 +178,10 @@ bool %test26(int %A) { ret bool %D } +ubyte %test27(ubyte %A) { + %B = and ubyte %A, 4 + %C = sub ubyte %B, 16 + %D = and ubyte %C, 240 ;; 0xF0 + %E = add ubyte %D, 16 + ret ubyte %E +}