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.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
epilogue.ll
blob
52dcb61d87f8f5c4144c5ca2150766ebc5e87e35
1
; RUN: llc < %s -march=x86 | not grep lea
2
; RUN: llc < %s -march=x86 | grep {movl %ebp}
3
4
declare void @bar(<2 x i64>* %n)
5
6
define void @foo(i64 %h) {
7
%k = trunc i64 %h to i32
8
%p = alloca <2 x i64>, i32 %k
9
call void @bar(<2 x i64>* %p)
10
ret void
11
}