[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
Sun Jan 19 20:25:15 PST 2025


huaatian wrote:

To summarize briefly: In the LLVM framework, the slot map is not effectively maintained because the erasing code is encapsulated within LoopInfo and TargetInstrInfo. The modifications we can think of are:
1. Add SlotIndexes::reanalyse() at the end of the previous algorithm in ModuloScheduleExpander::cleanup().
Or 2. Add RemoveMachineInstrFromMaps after the newly cloned MI, and explain the reason through comments.

We hope to hear your suggestions, @arsenm .

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


More information about the llvm-commits mailing list