llvm-project/llvm/test/CodeGen/Hexagon/newvaluejump-solo.mir

20 lines
406 B
YAML

# RUN: llc -march=hexagon -run-pass hexagon-nvj %s -o - | FileCheck %s
# Check that there is no new-value jump:
# CHECK-LABEL: name: fred
# CHECK-NOT: jumpnv
---
name: fred
tracksRegLiveness: true
body: |
bb.0:
successors: %bb.1
$r0 = A2_tfrsi 0
$r0 = V6_extractw killed undef $v0, $r0
$p0 = C2_cmpeqi killed $r0, 1
J2_jumpf killed $p0, %bb.1, implicit-def $pc
bb.1:
...