1 # RUN: llc -o - %s -mtriple=x86_64-- -run-pass=prologepilog 2>&1 | FileCheck %s
3 declare dso_local void @_Z3goov()
4 define i64 @_Z3foob(i1 zeroext %cond) #0 {
7 attributes #0 = {"frame-pointer"="all"}
10 # If the epilogue bb.1.if.then is not a return block, .cfi_restore is
11 # needed in it, otherwise bb.2.return will see different outgoing CFI
12 # information from its predecessors.
14 # CHECK: CFI_INSTRUCTION restore $rbx
15 # CHECK-NEXT: CFI_INSTRUCTION restore $r12
16 # CHECK-NEXT: CFI_INSTRUCTION restore $r13
17 # CHECK-NEXT: CFI_INSTRUCTION restore $r14
18 # CHECK-NEXT: CFI_INSTRUCTION restore $r15
19 # CHECK-NEXT: CFI_INSTRUCTION restore $rbp
25 tracksRegLiveness: true
33 machineFunctionInfo: {}
38 TEST8rr renamable $dil, renamable $dil, implicit-def $eflags, implicit killed $edi
39 JCC_1 %bb.2, 4, implicit killed $eflags
43 renamable $rbx = IMPLICIT_DEF
44 renamable $r14 = IMPLICIT_DEF
45 renamable $r15 = IMPLICIT_DEF
46 renamable $r12 = IMPLICIT_DEF
47 renamable $r13 = IMPLICIT_DEF
50 dead $eax = MOV32r0 implicit-def dead $eflags, implicit-def $rax