[llvm] Address Codegen bug related to marking subregister MachineOperand defines as undef (PR #134929)

Ryan Buchner via llvm-commits llvm-commits at lists.llvm.org
Tue May 6 12:10:41 PDT 2025


================
@@ -1570,6 +1570,29 @@ void LiveIntervals::handleMove(MachineInstr &MI, bool UpdateFlags) {
 
   HMEditor HME(*this, *MRI, *TRI, OldIndex, NewIndex, UpdateFlags);
   HME.updateAllRanges(&MI);
+
----------------
bababuck wrote:

Would moving it back to `ScheduleDagMI::moveInstruction` be better in your opionion? We have access to a `LiveIntervals` object there, so the same logic could be used.

https://github.com/llvm/llvm-project/pull/134929


More information about the llvm-commits mailing list