brintos

brintos / llvm-project-archived public Read only

0
0
Text · 972 B · 88ce878 Raw
35 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass liveintervals -run-pass machineverifier -run-pass register-coalescer %s -o - | FileCheck %s2#3# If there is no consumer of the live intervals, the live intervals pass4# will be freed immediately after it runs, before the verifier. Add a5# user (register coalescer in this case), so that the verification will6# cover live intervals as well.7#8# Make sure that this compiles successfully.9# CHECK: undef %1.isub_lo:doubleregs = A2_addi %1.isub_lo, 110 11---12name: fred13tracksRegLiveness: true14 15registers:16  - { id: 0, class: intregs }17  - { id: 1, class: doubleregs }18  - { id: 2, class: predregs }19  - { id: 3, class: doubleregs }20body: |21  bb.0:22    liveins: $d023    successors: %bb.124        %0 = IMPLICIT_DEF25        %1 = COPY $d026 27  bb.1:28    successors: %bb.129        %2 = C2_cmpgt %0, %1.isub_lo30        %3 = COPY %131        %1 = COPY %332        undef %1.isub_lo = A2_addi %1.isub_lo, 133        J2_jump %bb.1, implicit-def $pc34...35