projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
For PR950:
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
zeroext-and-reduce.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'and i32 %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