26 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass unreachable-mbb-elimination %s -o - | FileCheck %s2# RUN: llc -mtriple=hexagon -passes unreachable-mbb-elimination %s -o - | FileCheck %s3 4---5name: fred6tracksRegLiveness: true7body: |8 bb.0:9 liveins: $d010 successors: %bb.211 12 %0 : doubleregs = COPY $d013 J2_jump %bb.2, implicit-def $pc14 15 bb.1:16 successors: %bb.217 A2_nop18 19 bb.2:20 ; Make sure that the subregister from the PHI operand is preserved.21 ; CHECK: %[[REG:[0-9]+]]:intregs = COPY %0.isub_lo22 ; CHECK: $r0 = COPY %[[REG]]23 %1 : intregs = PHI %0.isub_lo, %bb.0, %0.isub_hi, %bb.124 $r0 = COPY %125...26