projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Also requires -mattr=-sse3
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
lea.ll
1
; RUN: llvm-as < %s | llc -march=x86 | grep lea
2
3
; XFAIL: *
4
5
%G = weak global int 0
6
int %test1(int* %P, int %X) {
7
%tmp.1 = getelementptr int* %P, int %X
8
%tmp.2 = load int* %tmp.1
9
store int %tmp.2, int* %G
10
%tmp.3 = sub int %tmp.2, 9
11
ret int %tmp.3
12
}