1 # RUN: llc -mtriple=thumbv6m-apple-ios -run-pass=arm-cp-islands --verify-machine-dom-info %s -o - | FileCheck %s
3 ; Function Attrs: minsize nounwind optsize uwtable
4 define arm_aapcscc double @test_split_cfg(double %a, double %b) local_unnamed_addr #0 {
11 exposesReturnsTwice: false
13 regBankSelected: false
15 tracksRegLiveness: true
18 - { reg: '$r0', virtual-reg: '' }
20 isFrameAddressTaken: false
21 isReturnAddressTaken: false
31 hasOpaqueSPAdjustment: false
33 hasMustTailInVarArgFunc: false
37 # CHECK-LABEL: name: test_split_cfg
39 # CHECK: successors: %[[LONG_BR_BB:bb.[0-9]+]](0x{{[0-9a-f]+}}), %[[DEST1:bb.[0-9]+]](0x{{[0-9a-f]+}}){{$}}
40 # CHECK: tBcc %[[LONG_BR_BB]], 0, $cpsr
41 # CHECK: tB %[[DEST1]]
42 # CHECK: [[LONG_BR_BB]]:
43 # CHECK: successors: %[[DEST2:bb.[0-9]+]](0x{{[0-9a-f]+}}){{$}}
44 # CHECK: tB %[[DEST2]]
51 tCMPi8 killed $r0, 0, 14, $noreg, implicit-def $cpsr
52 tBcc %bb.2, 1, killed $cpsr
56 dead $r0 = SPACE 256, undef $r0
59 tPOP_RET 14, $noreg, def $pc
62 tPOP_RET 14, $noreg, def $pc