[llvm] [llvm][CodeGen] Fix the issue caused by live interval checking in window scheduler (PR #123184)
Hua Tian via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 18 04:33:54 PST 2025
================
@@ -303,6 +303,7 @@ void WindowScheduler::generateTripleMBB() {
if (Register AntiReg = getAntiRegister(MI))
DefPairs[MI->getOperand(0).getReg()] = AntiReg;
auto *NewMI = MF->CloneMachineInstr(MI);
+ Context->LIS->RemoveMachineInstrFromMaps(*NewMI);
----------------
huaatian wrote:
Should the slot index be reanalyzed in `ModuloScheduleExpander::cleanup()` as shown?
![image](https://github.com/user-attachments/assets/775000b5-8f62-43d7-b4f8-612b12935b5b)
https://github.com/llvm/llvm-project/pull/123184
More information about the llvm-commits
mailing list