1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -mtriple=thumbv6m-apple-ios -run-pass=arm-cp-islands --verify-machine-dom-info %s -o - | FileCheck %s 3--- | 4 ; Function Attrs: minsize nounwind optsize uwtable 5 define arm_aapcscc double @test_split_cfg(double %a, double %b) local_unnamed_addr #0 { 6 ret double undef 7 } 8... 9--- 10name: test_split_cfg 11alignment: 2 12exposesReturnsTwice: false 13legalized: false 14regBankSelected: false 15selected: false 16tracksRegLiveness: true 17registers: 18liveins: 19 - { reg: '$r0', virtual-reg: '' } 20frameInfo: 21 isFrameAddressTaken: false 22 isReturnAddressTaken: false 23 hasStackMap: false 24 hasPatchPoint: false 25 stackSize: 48 26 offsetAdjustment: 0 27 maxAlignment: 4 28 adjustsStack: true 29 hasCalls: true 30 stackProtector: '' 31 maxCallFrameSize: 0 32 hasOpaqueSPAdjustment: false 33 hasVAStart: false 34 hasMustTailInVarArgFunc: false 35 savePoint: '' 36 restorePoint: '' 37fixedStack: 38 39body: | 40 ; CHECK-LABEL: name: test_split_cfg 41 ; CHECK: bb.0: 42 ; CHECK: successors: %bb.1(0x40000000), %bb.3(0x40000000) 43 ; CHECK: liveins: $r0 44 ; CHECK: tCMPi8 killed $r0, 0, 14 /* CC::al */, $noreg, implicit-def $cpsr 45 ; CHECK: tBcc %bb.1, 0 /* CC::eq */, $cpsr 46 ; CHECK: tB %bb.3, 14 /* CC::al */, $noreg 47 ; CHECK: bb.1: 48 ; CHECK: successors: %bb.4(0x40000000) 49 ; CHECK: liveins: $cpsr 50 ; CHECK: tB %bb.4, 14 /* CC::al */, $noreg 51 ; CHECK: bb.2: 52 ; CHECK: successors: %bb.3(0x80000000) 53 ; CHECK: dead $r0 = SPACE 256, undef $r0 54 ; CHECK: bb.3: 55 ; CHECK: tPOP_RET 14 /* CC::al */, $noreg, def $pc 56 ; CHECK: bb.4: 57 ; CHECK: tPOP_RET 14 /* CC::al */, $noreg, def $pc 58 bb.0: 59 liveins: $r0 60 tCMPi8 killed $r0, 0, 14, $noreg, implicit-def $cpsr 61 tBcc %bb.2, 1, killed $cpsr 62 tB %bb.3, 14, $noreg 63 64 bb.1: 65 dead $r0 = SPACE 256, undef $r0 66 67 bb.2: 68 tPOP_RET 14, $noreg, def $pc 69 70 bb.3: 71 tPOP_RET 14, $noreg, def $pc 72 73... 74