From dffb4455035df1445891b7d6a657f4ccbb67ab0c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Sep 2004 19:25:20 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16527 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/and.ll | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index ba30d816df1..3743cbc8ffb 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -119,6 +119,12 @@ bool %test18(int %A) { ret bool %C } +bool %test18a(ubyte %A) { + %B = and ubyte %A, 254 + %C = seteq ubyte %B, 0 + ret bool %C +} + int %test19(int %A) { %B = shl int %A, ubyte 3 %C = and int %B, -2 ;; Clearing a zero bit -- 2.34.1