projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2006-11-10-ashr-miscompile.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep lshr
2
; Verify this is not turned into -1.
3
4
int %test(ubyte %amt) {
5
%B = lshr int -1, ubyte %amt
6
ret int %B
7
}