1# RUN: llc -march=hexagon -run-pass hexagon-early-if %s -o - | FileCheck %s 2 3# Make sure that early if-conversion handles the *low8 register classes: 4# CHECK: intregslow8 = C2_mux 5# CHECK: generaldoublelow8regs = PS_pselect 6 7--- 8name: fred 9tracksRegLiveness: true 10body: | 11 bb.0: 12 liveins: $r0, $r1 13 %0:intregslow8 = COPY $r0 14 %1:intregslow8 = COPY $r1 15 %2:generaldoublelow8regs = A2_tfrpi 1 16 %3:predregs = C2_cmpeq %0, %1 17 J2_jumpf %3, %bb.2, implicit-def $pc 18 bb.1: 19 %4:intregslow8 = A2_addi %0, 1 20 %5:generaldoublelow8regs = A2_tfrpi 0 21 bb.2: 22 %6:intregslow8 = PHI %0, %bb.0, %4, %bb.1 23 %7:generaldoublelow8regs = PHI %2, %bb.0, %5, %bb.1 24 $r0 = COPY %6 25 $d1 = COPY %7 26 J2_jumpr $r31, implicit $r0, implicit $d1, implicit-def $pc 27... 28