[llvm-branch-commits] [llvm] [mcp-frameinst: 2/4]: [MCP][NFC] Cleanup and prepare to preserve frame-setup/destroy (PR #186240)
Sergei Barannikov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Mar 13 05:17:22 PDT 2026
================
@@ -941,7 +965,9 @@ void MachineCopyPropagation::ForwardCopyPropagateBlock(MachineBasicBlock &MBB) {
if (!TRI->regsOverlap(RegDef, RegSrc)) {
// Copy is now a candidate for deletion.
MCRegister Def = RegDef.asMCReg();
- if (!MRI->isReserved(Def))
+ // FIXME: what about src? is it target dependant? am I misunderstanding
----------------
s-barannikov wrote:
Is this comment supposed to be checked in?
https://github.com/llvm/llvm-project/pull/186240
More information about the llvm-branch-commits
mailing list