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
4 ; Function Attrs: minsize nounwind optsize uwtable
5 define arm_aapcscc double @test_split_cfg(double %a, double %b) local_unnamed_addr #0 {
12 exposesReturnsTwice: false
14 regBankSelected: false
16 tracksRegLiveness: true
19 - { reg: '$r0', virtual-reg: '' }
21 isFrameAddressTaken: false
22 isReturnAddressTaken: false
32 hasOpaqueSPAdjustment: false
34 hasMustTailInVarArgFunc: false
40 ; CHECK-LABEL: name: test_split_cfg
42 ; CHECK: successors: %bb.1(0x40000000), %bb.3(0x40000000)
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
48 ; CHECK: successors: %bb.4(0x40000000)
49 ; CHECK: liveins: $cpsr
50 ; CHECK: tB %bb.4, 14 /* CC::al */, $noreg
52 ; CHECK: successors: %bb.3(0x80000000)
53 ; CHECK: dead $r0 = SPACE 256, undef $r0
55 ; CHECK: tPOP_RET 14 /* CC::al */, $noreg, def $pc
57 ; CHECK: tPOP_RET 14 /* CC::al */, $noreg, def $pc
60 tCMPi8 killed $r0, 0, 14, $noreg, implicit-def $cpsr
61 tBcc %bb.2, 1, killed $cpsr
65 dead $r0 = SPACE 256, undef $r0
68 tPOP_RET 14, $noreg, def $pc
71 tPOP_RET 14, $noreg, def $pc