repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
imul-lea.ll
blob
4e8e2af0f2fec9c1922d570c0c8751a9ff102fc8
1
; RUN: llc < %s -march=x86 | grep lea
2
3
declare i32 @foo()
4
5
define i32 @test() {
6
%tmp.0 = tail call i32 @foo( ) ; <i32> [#uses=1]
7
%tmp.1 = mul i32 %tmp.0, 9 ; <i32> [#uses=1]
8
ret i32 %tmp.1
9
}
10