view test/CodeGen/Hexagon/newvaluejump-solo.mir @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +0900
parents 3a76565eade5
children
line wrap: on
line source

# 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:
...