blob: 5a378e19c49a88b2847a4ee476a30e3f1c936239 [file] [log] [blame]
Evan Cheng1783ae82007-07-18 21:39:16 +00001; RUN: llvm-as < %s | llc -march=x86 | not grep lea
Dan Gohman91888f02007-07-31 20:11:57 +00002; RUN: llvm-as < %s | llc -march=x86 | grep {movl %ebp}
Evan Cheng1783ae82007-07-18 21:39:16 +00003
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}