summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/rdf-ehlabel-live.mir
blob: a31c774d332de95f47f8bc7ff3c1352a0ee296c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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
...

OpenPOWER on IntegriCloud