1 # RUN: llc -x mir -mtriple powerpc-unknown-aix-xcoff --verify-machineinstrs \
2 # RUN: -start-before=ppc-branch-select < %s | FileCheck %s
4 # RUN: llc -x mir -mtriple powerpc64-unknown-aix-xcoff --verify-machineinstrs \
5 # RUN: -start-before=ppc-branch-select < %s | FileCheck %s
7 # Test uses a long branch to force printing of a branch that uses the program
8 # counter as an operand. ($PC + 8)
11 name: print_program_counter
12 machineFunctionInfo: {}
15 successors: %bb.1(0x30000000), %bb.2(0x50000000)
17 renamable $cr0 = CMPLWI killed renamable $r3, 0
18 BCC 76, killed renamable $cr0, %bb.1
21 INLINEASM &".space 32760", 1
22 BLR implicit $lr, implicit $rm, implicit killed $r3
25 INLINEASM &".space 32760", 1
26 BLR implicit $lr, implicit $rm, implicit killed $r3
28 # CHECK-LABEL: .print_program_counter:
30 # CHECK-NEXT: bne {{[0-9]}}, $+8