llvm-project/llvm/test/CodeGen/Hexagon/invalid-dotnew-attempt.mir

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
...