blob: 090680e48febba4b91c3beedb3fa1267817aa009 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s
; CHECK-NOT: lea{{.*}}(%esp)
; CHECK: {{(mov.* %ebp, %esp)|(lea.*\(%ebp\), %esp)}}
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
}
|