llvm.org GIT mirror llvm / 2edda52 test / CodeGen / ARM / ifcvt_simple_unanalyzable.mir
2edda52

Tree @2edda52 (Download .tar.gz)

ifcvt_simple_unanalyzable.mir @2edda52raw · history · blame

# RUN: llc -mtriple=arm-apple-ios -run-pass=if-converter %s -o - | FileCheck %s
---
name:            foo
body:             |
  bb.0:
    Bcc %bb.2, 0, $cpsr

  bb.1:
  successors:
    BX_RET 14, _

  bb.2:
  successors:
    $sp = tADDspi $sp, 2, 14, _
    BX_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:     BX_RET 0, $cpsr
# CHECK:     BX_RET 14, $noreg