blob: b349ce6d1d006563aa9f3fe223a3cc59bf1992ae [file] [log] [blame]
Evan Cheng1783ae82007-07-18 21:39:16 +00001; RUN: llvm-as < %s | llc -march=x86 | not grep lea
2; RUN: llvm-as < %s | llc -march=x86 | grep {movl %ebp}
3
4declare void @bar(<2 x i64>* %n)
5
6define 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}