projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Reapply r219832 - InstCombine: Narrow switch instructions using known bits.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
zeroext-and-reduce.ll
1
; RUN: opt < %s -instcombine -S | \
2
; RUN: grep "and i32 %Y, 8"
3
4
define i32 @test1(i8 %X) {
5
%Y = zext i8 %X to i32 ; <i32> [#uses=1]
6
%Z = and i32 %Y, 65544 ; <i32> [#uses=1]
7
ret i32 %Z
8
}
9
10