comparison test/CodeGen/X86/epilogue.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children 803732b1fca8
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s
2
3 ; CHECK-NOT: lea{{.*}}(%esp)
4 ; CHECK: {{(mov.* %ebp, %esp)|(lea.*\(%ebp\), %esp)}}
5
6 declare void @bar(<2 x i64>* %n)
7
8 define void @foo(i64 %h) {
9 %k = trunc i64 %h to i32
10 %p = alloca <2 x i64>, i32 %k
11 call void @bar(<2 x i64>* %p)
12 ret void
13 }