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
/
shift-sra.ll
1
; RUN: llvm-as < %s | opt -instcombine -disable-output &&
2
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'lshr int'
3
4
int %test0(int %X, ubyte %A) {
5
%Y = shr int %X, ubyte %A ; can be logical shift.
6
%Z = and int %Y, 1
7
ret int %Z
8
}