[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / Hexagon / rdf-ehlabel-live.mir
bloba31c774d332de95f47f8bc7ff3c1352a0ee296c4
1 # RUN: llc -march=hexagon -run-pass hexagon-rdf-opt -o - %s | FileCheck %s
3 # Check that EH_LABELs are not removed as dead (since they are no longer
4 # marked as having side-effects):
5 # CHECK-LABEL: fred
6 # CHECK: EH_LABEL
8 ---
9 name: fred
10 tracksRegLiveness: true
12 body: |
13   bb.0:
14     $r0 = A2_tfrsi 0
15     EH_LABEL 0
16 ...