[llvm] [llvm][CodeGen] Fix the issue caused by live interval checking in window scheduler (PR #123184)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 00:36:53 PST 2025
================
@@ -316,6 +317,7 @@ void WindowScheduler::generateTripleMBB() {
(MI->isTerminator() && Cnt < DuplicateNum - 1))
continue;
auto *NewMI = MF->CloneMachineInstr(MI);
+ Context->LIS->RemoveMachineInstrFromMaps(*NewMI);
----------------
arsenm wrote:
Ditto, this should have been added to the map?
https://github.com/llvm/llvm-project/pull/123184
More information about the llvm-commits
mailing list