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
/
2006-04-28-ShiftShiftLongLong.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl &&
2
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
3
4
; This cannot be turned into a sign extending cast!
5
6
long %test(long %X) {
7
%Y = shl long %X, ubyte 16
8
%Z = shr long %Y, ubyte 16
9
ret long %Z
10
}