view test/CodeGen/Hexagon/rdf-ehlabel-live.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-rdf-opt -o - %s | FileCheck %s

# Check that EH_LABELs are not removed as dead (since they are no longer
# marked as having side-effects):
# CHECK-LABEL: fred
# CHECK: EH_LABEL

---
name: fred
tracksRegLiveness: true

body: |
  bb.0:
    $r0 = A2_tfrsi 0
    EH_LABEL 0
...