[llvm] [TwoAddressInstruction] Propagate undef flags for partial defs (PR #79286)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 03:59:00 PST 2024
================
@@ -1991,11 +1997,25 @@ eliminateRegSequence(MachineBasicBlock::iterator &MBBI) {
MI.removeOperand(j);
} else {
if (LIS) {
- // Force interval recomputation if we moved from full definition
- // of register to partial.
- if (DefIsPartial && LIS->hasInterval(DstReg) &&
- MRI->shouldTrackSubRegLiveness(DstReg))
+ // Force live interval recomputation if we moved to a partial defintion
----------------
arsenm wrote:
```suggestion
// Force live interval recomputation if we moved to a partial definition
```
https://github.com/llvm/llvm-project/pull/79286
More information about the llvm-commits
mailing list