1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=thumbv7-apple-ios -run-pass=if-converter %s -o - | FileCheck %s
4 # Forked-diamond testcase with unanalyzable instructions in both the True and
5 # False BBs following the forked diamond.
10 ; CHECK-LABEL: name: foo
12 ; CHECK: successors: %bb.2(0x20000000), %bb.1(0x60000000)
13 ; CHECK: $sp = tADDspi $sp, 2, 1 /* CC::ne */, $cpsr
14 ; CHECK: $sp = tADDspi $sp, 1, 0 /* CC::eq */, $cpsr, implicit $sp
15 ; CHECK: t2Bcc %bb.2, 1 /* CC::ne */, $cpsr
17 ; CHECK: $sp = tADDspi $sp, 4, 14 /* CC::al */, $noreg
18 ; CHECK: tBX_RET 14 /* CC::al */, $noreg
20 ; CHECK: $sp = tADDspi $sp, 3, 14 /* CC::al */, $noreg
21 ; CHECK: tBX_RET 14 /* CC::al */, $noreg
26 successors: %bb.3(0x20000000), %bb.4(0x60000000)
27 $sp = tADDspi $sp, 1, 14, _
32 successors: %bb.3(0x20000000), %bb.4(0x60000000)
33 $sp = tADDspi $sp, 2, 14, _
39 $sp = tADDspi $sp, 3, 14, _
44 $sp = tADDspi $sp, 4, 14, _