[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / Hexagon / newvaluejump-solo.mir
blobd1fc4eb1d50adffb5ac61bdf4f36be5e27f17ab1
1 # RUN: llc -march=hexagon -run-pass hexagon-nvj %s -o - | FileCheck %s
3 # Check that there is no new-value jump:
4 # CHECK-LABEL: name: fred
5 # CHECK-NOT: jumpnv
6 ---
7 name: fred
8 tracksRegLiveness: true
10 body: |
11   bb.0:
12     successors: %bb.1
13       $r0 = A2_tfrsi 0
14       $r0 = V6_extractw killed undef $v0, $r0
15       $p0 = C2_cmpeqi killed $r0, 1
16       J2_jumpf killed $p0, %bb.1, implicit-def $pc
18   bb.1:
19 ...