repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
zeroext-and-reduce.ll
blob
592b8a172f8e1fcb93a16f3d6716f99744e77f0f
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