summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/invalid-dotnew-attempt.mir
blob: 7fe7fcfae5814a4cefe5d80ee197ef251dd9455f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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
...

OpenPOWER on IntegriCloud