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 # Diamond testcase with unanalyzable instruction in the BB following the
10 ; CHECK-LABEL: name: foo
12 ; CHECK: $sp = tADDspi $sp, 2, 1 /* CC::ne */, $cpsr
13 ; CHECK: $sp = tADDspi $sp, 1, 0 /* CC::eq */, $cpsr, implicit $sp
14 ; CHECK: $sp = tADDspi $sp, 3, 14 /* CC::al */, $noreg
15 ; CHECK: tBX_RET 14 /* CC::al */, $noreg
20 $sp = tADDspi $sp, 1, 14, _
24 $sp = tADDspi $sp, 2, 14, _
29 $sp = tADDspi $sp, 3, 14, _