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 }
12