jmorse added a comment. Because it's not completely clear in the summary: the reliance on DBG_VALUEs following the insn being sunk is caused by performSink's use of MachineInstr::collectDebugValues Repository: rL LLVM https://reviews.llvm.org/D53992