1 # RUN: llc -march=hexagon -run-pass liveintervals -run-pass machineverifier -run-pass register-coalescer %s -o - | FileCheck %s
3 # If there is no consumer of the live intervals, the live intervals pass
4 # will be freed immediately after it runs, before the verifier. Add a
5 # user (register coalescer in this case), so that the verification will
6 # cover live intervals as well.
8 # Make sure that this compiles successfully.
9 # CHECK: undef %1.isub_lo:doubleregs = A2_addi %1.isub_lo, 1
13 tracksRegLiveness: true
16 - { id: 0, class: intregs }
17 - { id: 1, class: doubleregs }
18 - { id: 2, class: predregs }
19 - { id: 3, class: doubleregs }
29 %2 = C2_cmpgt %0, %1.isub_lo
32 undef %1.isub_lo = A2_addi %1.isub_lo, 1
33 J2_jump %bb.1, implicit-def $pc