mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-27 14:45:24 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
254 B
LLVM
12 lines
254 B
LLVM
; RUN: llc < %s -march=x86 | not grep lea
|
|
; RUN: llc < %s -march=x86 | grep {movl %ebp}
|
|
|
|
declare void @bar(<2 x i64>* %n)
|
|
|
|
define void @foo(i64 %h) {
|
|
%k = trunc i64 %h to i32
|
|
%p = alloca <2 x i64>, i32 %k
|
|
call void @bar(<2 x i64>* %p)
|
|
ret void
|
|
}
|