1 ; RUN: llc < %s -march=x86 -asm-verbose=false | FileCheck %s -check-prefix=FP-ELIM
2 ; RUN: llc < %s -march=x86 -asm-verbose=false -disable-fp-elim | FileCheck %s -check-prefix=NO-ELIM
3 ; RUN: llc < %s -march=x86 -asm-verbose=false -disable-non-leaf-fp-elim | FileCheck %s -check-prefix=NON-LEAF
5 ; Implement -momit-leaf-frame-pointer
8 define i32 @t1() nounwind readnone {
15 ; NO-ELIM-NEXT: pushl %ebp
25 define void @t2() nounwind {
28 ; FP-ELIM-NOT: pushl %ebp
32 ; NO-ELIM-NEXT: pushl %ebp
37 ; NON-LEAF-NEXT: pushl %ebp
40 tail call void @foo(i32 0) nounwind
44 declare void @foo(i32)