51 lines · plain
1# RUN: llc -o - %s -mtriple=x86_64-- -run-pass=prologepilog 2>&1 | FileCheck %s2--- |3 define i64 @_Z3foob(i1 zeroext %cond) #0 {4 ret i64 05 }6 attributes #0 = {"frame-pointer"="all"}7...8---9# If the epilogue bb.1 is a return block, no .cfi_restore is10# needed in it.11# CHECK: bb.1:12# CHECK-NOT: CFI_INSTRUCTION restore13# CHECK: RET 014# CHECK: bb.2:15# CHECK: RET 016name: _Z3foob17alignment: 1618tracksRegLiveness: true19liveins:20 - { reg: '$edi' }21frameInfo:22 maxAlignment: 123 hasCalls: true24 savePoint:25 - point: '%bb.1'26 restorePoint:27 - point: '%bb.1'28machineFunctionInfo: {}29body: |30 bb.0:31 liveins: $edi32 33 TEST8rr renamable $dil, renamable $dil, implicit-def $eflags, implicit killed $edi34 JCC_1 %bb.2, 4, implicit killed $eflags35 JMP_1 %bb.136 37 bb.1:38 renamable $rbx = IMPLICIT_DEF39 renamable $r14 = IMPLICIT_DEF40 renamable $r15 = IMPLICIT_DEF41 renamable $r12 = IMPLICIT_DEF42 renamable $r13 = IMPLICIT_DEF43 dead $eax = MOV32r0 implicit-def dead $eflags, implicit-def $rax44 RET 0, killed $rax45 46 bb.2:47 dead $eax = MOV32r0 implicit-def dead $eflags, implicit-def $rax48 RET 0, killed $rax49 50...51