2017-12-01 04:39:15 +08:00
|
|
|
# RUN: llc -march=hexagon -run-pass hexagon-nvj %s -o - | FileCheck %s
|
2017-12-01 04:32:54 +08:00
|
|
|
|
|
|
|
# Check that there is no new-value jump:
|
|
|
|
# CHECK-LABEL: name: fred
|
2017-12-01 05:23:19 +08:00
|
|
|
# CHECK-NOT: jumpnv
|
2017-12-01 04:32:54 +08:00
|
|
|
---
|
|
|
|
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:
|
|
|
|
...
|