summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/ifcvt_simple_unanalyzable.mir
blob: a01615484546742d50f1be4c86aec03e385fa8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# RUN: llc -mtriple=thumbv7-apple-ios -run-pass=if-converter %s -o - | FileCheck %s
---
name:            foo
body:             |
  bb.0:
    tBcc %bb.2, 0, $cpsr

  bb.1:
  successors:
    tBX_RET 14, _

  bb.2:
  successors:
    $sp = tADDspi $sp, 2, 14, _
    tBX_RET 14, _
...

# Simple testcase with unanalyzable instructions in both TBB and FBB.

# CHECK: body:             |
# CHECK:   bb.0:
# CHECK:     $sp = tADDspi $sp, 2, 0, $cpsr
# CHECK:     tBX_RET 0, $cpsr
# CHECK:     tBX_RET 14, $noreg

OpenPOWER on IntegriCloud