linux-packaging-mono/external/llvm/test/CodeGen/MIR/ARM/ifcvt_simple_unanalyzable.mir
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

26 lines
496 B
YAML

# 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