repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added the ability to xfail based on llvmgcc version
[llvm-complete.git]
/
test
/
Transforms
/
InstCombine
/
zeroext-and-reduce.ll
blob
6c794a3e3f2848aca96011028171d1203647f4a9
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'and int %Y, 8'
2
3
int %test1(ubyte %X) {
4
%Y = cast ubyte %X to int
5
%Z = and int %Y, 65544 ;; Prune this to and Y, 8
6
ret int %Z
7
}
8