diff options
-rw-r--r-- | test/Transforms/InstCombine/and.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index ba30d816df..3743cbc8ff 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 |