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
/
lea.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
2
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep orl
3
int %test(int %x) {
4
%tmp1 = shl int %x, ubyte 3
5
%tmp2 = add int %tmp1, 7
6
ret int %tmp2
7
}