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
3
4# Simple testcase with unanalyzable instructions in both TBB and FBB.
5
6---
7name:            foo
8body:             |
9  ; CHECK-LABEL: name: foo
10  ; CHECK: bb.0:
11  ; CHECK:   $sp = tADDspi $sp, 2, 0 /* CC::eq */, $cpsr
12  ; CHECK:   tBX_RET 0 /* CC::eq */, $cpsr
13  ; CHECK:   tBX_RET 14 /* CC::al */, $noreg
14  bb.0:
15    tBcc %bb.2, 0, $cpsr
16
17  bb.1:
18  successors:
19    tBX_RET 14, _
20
21  bb.2:
22  successors:
23    $sp = tADDspi $sp, 2, 14, _
24    tBX_RET 14, _
25...
26
27