blob: f432f049e9f8b64643cd968dd5d3bc44c7da92ad [file] [log] [blame]
# RUN: llc -march=hexagon -run-pass hexagon-nvj %s -o - | FileCheck %s
---
# CHECK-LABEL: name: test0
# CHECK: J4_cmpeqi_f_jumpnv_t killed $r1, 0
name: test0
tracksRegLiveness: true
body: |
bb.0:
liveins: $r0
$r1 = A2_addi $r0, -1
$p0 = C4_cmpneqi killed $r1, 0
J2_jumpt killed $p0, %bb.1, implicit-def $pc
bb.1:
...
---
# CHECK-LABEL: name: test1
# CHECK: J4_cmpgti_f_jumpnv_t killed $r1, 27
name: test1
tracksRegLiveness: true
body: |
bb.0:
liveins: $r0
$r1 = A2_addi $r0, -1
$p0 = C4_cmpltei killed $r1, 27
J2_jumpt killed $p0, %bb.1, implicit-def $pc
bb.1:
...
---
# CHECK-LABEL: name: test2
# CHECK: J4_cmpgtui_f_jumpnv_t killed $r1, 31
name: test2
tracksRegLiveness: true
body: |
bb.0:
liveins: $r0
$r1 = A2_addi $r0, -1
$p0 = C4_cmplteui killed $r1, 31
J2_jumpt killed $p0, %bb.1, implicit-def $pc
bb.1:
...