31 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass expand-condsets %s -o - | FileCheck %s2# REQUIRES: asserts3 4# The physical register as an operand to C2_mux caused a crash.5# Check that this compiles successfully and that the mux is expanded.6 7# CHECK: %2:intregs = A2_tfrt %1, $r318# CHECK: %2:intregs = A2_tfrf killed %1, killed %0, implicit %2(tied-def 0)9 10name: fred11tracksRegLiveness: true12isSSA: false13body: |14 bb.0:15 successors: %bb.1, %bb.216 liveins: $r017 18 %0:intregs = L2_loadri_io $r0, 019 %1:predregs = C2_cmpgti %0, 1020 %2:intregs = C2_mux %1, $r31, %021 %3:predregs = C2_cmpeqi %2, 022 J2_jumpt %3, %bb.1, implicit-def $pc23 J2_jump %bb.2, implicit-def $pc24 25 bb.1:26 PS_jmpret $r31, implicit-def $pc27 28 bb.2:29 PS_jmpret $r31, implicit-def $pc30...31