From 8797f5975878b7daab4ef15787dc649f6088c073 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 8 Oct 2004 05:03:25 +0000 Subject: New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16835 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/and.ll | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/Transforms/InstCombine/and.ll') diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 1b2dafb218..e11be02997 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 +} -- cgit v1.2.3