30 lines · plain
1# RUN: llc -o /dev/null %s -mtriple=s390x-linux-gnu -mcpu=z16 \2# RUN: -verify-machineinstrs -run-pass=register-coalescer3 4# The LOCMux below produces a dead definition and will be turned into5# a KILL instruction (by LiveRangeEdit::eliminateDeadDef()). When this6# happens, the MemoryOperand must also be removed as this is required7# by the machine verifier.8 9---10name: fun11tracksRegLiveness: true12body: |13 bb.0:14 liveins: $r2d15 16 %3:addr64bit = COPY killed $r2d17 18 bb.1:19 %5:grx32bit = LMux killed %3, 0, $noreg :: (load (s32))20 CHIMux killed %5, 0, implicit-def $cc21 %7:grx32bit = LHIMux 022 %1:grx32bit = COPY killed %723 %1:grx32bit = LOCMux %1, undef %8:addr64bit, 0, 14, 6, implicit killed $cc :: (load (s32))24 dead %0:grx32bit = COPY killed %125 26 bb.2:27 J %bb.228 29...30