mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
bd55e94810
An incorrect check in the packetizer lead to an attempt to convert an unconditional branch to a .new (conditional) form. llvm-svn: 304442
18 lines
377 B
YAML
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
|
|
...
|
|
|