llvm.org GIT mirror llvm / ccb21fd
New test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40020 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 12 years ago
1 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=x86 | not grep lea
1 ; RUN: llvm-as < %s | llc -march=x86 | grep {movl %ebp}
2
3 declare void @bar(<2 x i64>* %n)
4
5 define void @foo(i64 %h) {
6 %k = trunc i64 %h to i32
7 %p = alloca <2 x i64>, i32 %k
8 call void @bar(<2 x i64>* %p)
9 ret void
10 }