1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/Hexagon/invalid-dotnew-attempt.mir
Krzysztof Parzyszek bd55e94810 [Hexagon] Fix dependence check in the packetizer
An incorrect check in the packetizer lead to an attempt to convert
an unconditional branch to a .new (conditional) form.

llvm-svn: 304442
2017-06-01 18:02:40 +00:00

18 lines
377 B
YAML

# RUN: llc -march=hexagon -start-after if-converter %s -o - | FileCheck %s
# CHECK: p0 = r0
# CHECK-NEXT: jumpr r31
# Make sure that the packetizer does not attempt to newify the J2_jumpr
# only because of the def-use of p0.
---
name: fred
tracksRegLiveness: true
body: |
bb.0:
liveins: %d0
%p0 = C2_tfrrp %r0
J2_jumpr %r31, implicit-def %pc, implicit %p0
...