1# RUN: llc -mtriple=thumbv6m-apple-ios -run-pass=arm-cp-islands %s -o - | FileCheck %s 2--- | 3 ; Function Attrs: minsize nounwind optsize uwtable 4 define arm_aapcscc double @test_split_cfg(double %a, double %b) local_unnamed_addr #0 { 5 ret double undef 6 } 7... 8--- 9name: test_split_cfg 10alignment: 1 11exposesReturnsTwice: false 12legalized: false 13regBankSelected: false 14selected: false 15tracksRegLiveness: true 16registers: 17liveins: 18 - { reg: '$r0', virtual-reg: '' } 19frameInfo: 20 isFrameAddressTaken: false 21 isReturnAddressTaken: false 22 hasStackMap: false 23 hasPatchPoint: false 24 stackSize: 48 25 offsetAdjustment: 0 26 maxAlignment: 4 27 adjustsStack: true 28 hasCalls: true 29 stackProtector: '' 30 maxCallFrameSize: 0 31 hasOpaqueSPAdjustment: false 32 hasVAStart: false 33 hasMustTailInVarArgFunc: false 34 savePoint: '' 35 restorePoint: '' 36fixedStack: 37# CHECK-LABEL: name: test_split_cfg 38# CHECK: bb.0: 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]] 45# CHECK: [[DEST1]]: 46# CHECK: [[DEST2]]: 47 48body: | 49 bb.0: 50 liveins: $r0 51 tCMPi8 killed $r0, 0, 14, $noreg, implicit-def $cpsr 52 tBcc %bb.2, 1, killed $cpsr 53 tB %bb.3, 14, $noreg 54 55 bb.1: 56 dead $r0 = SPACE 256, undef $r0 57 58 bb.2: 59 tPOP_RET 14, $noreg, def $pc 60 61 bb.3: 62 tPOP_RET 14, $noreg, def $pc 63 64... 65