[llvm] [mcp-frameinst: 2/3]: [MCP][NFC] Opinionated refactoring (PR #186239)
Scott Linder via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 08:07:44 PDT 2026
slinder1 wrote:
<details>
<summary>🛠️ Changes since last push (click to expand):</summary>
```diff
diff --git b/llvm/lib/CodeGen/MachineCopyPropagation.cpp a/llvm/lib/CodeGen/MachineCopyPropagation.cpp
@@ -659,7 +659,7 @@ bool MachineCopyPropagation::isBackwardPropagatableCopy(
if (!Dst || !Src)
return false;
- if (isNeverRedundant(Src))
+ if (isNeverRedundant(Dst) || isNeverRedundant(Src))
return false;
return CopyOperands.Source->isRenamable() && CopyOperands.Source->isKill();
```
</details>
https://github.com/llvm/llvm-project/pull/186239
More information about the llvm-commits
mailing list