[llvm] [RegisterCoalescer] Mark implicit-defs of super-registers as dead in remat (PR #159110)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 05:04:31 PDT 2025
================
@@ -1475,7 +1475,8 @@ bool RegisterCoalescer::reMaterializeTrivialDef(const CoalescerPair &CP,
// The implicit-def of the super register may have been reduced to
// subregisters depending on the uses.
- bool NewMIDefinesFullReg = false;
+ TinyPtrVector<MachineOperand *> NewMIImpDefDestReg;
----------------
MacDue wrote:
Reworked this in terms of `NewMIImplDefs` with index tracking.
https://github.com/llvm/llvm-project/pull/159110
More information about the llvm-commits
mailing list