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
/
CodeGen
/
X86
/
shift-one.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep 'leal'
2
3
%x = external global int
4
5
int %test() {
6
%tmp.0 = load int* %x
7
%tmp.1 = shl int %tmp.0, ubyte 1
8
ret int %tmp.1
9
}