mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
df2896d609
llvm-svn: 81290
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
|
|
}
|