37 lines · plain
1; RUN: llc -O0 %s -o - | FileCheck %s2; RUN: llc -O0 %s -o - | FileCheck %s3; RUN: llc < %s -stop-after=prologepilog | FileCheck %s --check-prefix=PEI4 5target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"6target triple = "i686-pc-linux"7 8; Function Attrs: noinline nounwind9define i32 @foo(i32 %i, i32 %j, i32 %k, i32 %l, i32 %m) #0 {10 11; CHECK-LABEL: foo:12; CHECK: popl %ebp13; CHECK-NEXT: .cfi_def_cfa %esp, 414; CHECK-NEXT: retl15 16; PEI-LABEL: name: foo17; PEI: $ebp = frame-destroy POP32r implicit-def $esp, implicit $esp18; PEI-NEXT: frame-destroy CFI_INSTRUCTION def_cfa $esp, 419; PEI-NEXT: RET 0, killed $eax20 21entry:22 %i.addr = alloca i32, align 423 %j.addr = alloca i32, align 424 %k.addr = alloca i32, align 425 %l.addr = alloca i32, align 426 %m.addr = alloca i32, align 427 store i32 %i, ptr %i.addr, align 428 store i32 %j, ptr %j.addr, align 429 store i32 %k, ptr %k.addr, align 430 store i32 %l, ptr %l.addr, align 431 store i32 %m, ptr %m.addr, align 432 ret i32 033}34 35attributes #0 = { "frame-pointer"="all" }36 37