1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/ARM/PR32721_ifcvt_triangle_unanalyzable.mir
David Green 5ca377e901 [ARM] Update ifcvt test target triples and opcodes. NFC
Some of the instructions in these tests were technically invalid
combinations (using ARM opcodes in Thumb mode, for example). Update the
targets and the instructions used to be more correct.
2020-01-02 14:18:54 +00:00

24 lines
381 B
YAML

# RUN: llc -mtriple=armv7-apple-ios -run-pass=if-converter %s -o - | FileCheck %s
---
name: foo
body: |
bb.0:
B %bb.2
bb.1:
BX_RET 14, 0
bb.2:
Bcc %bb.1, 1, $cpsr
bb.3:
B %bb.1
...
# We should get a single block containing the BX_RET, with no successors at all
# CHECK: body:
# CHECK-NEXT: bb.0:
# CHECK-NEXT: BX_RET