projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
The transform that tries to turn calls to bitcast functions into
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
shl-trunc.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep shl
2
3
bool %test(int %X, ubyte %A) {
4
%B = lshr int %X, ubyte %A
5
%D = trunc int %B to bool
6
ret bool %D
7
}