[llvm] Handle IMPLICIT_DEF in TripleMBB for WindowScheduler (PR #179190)

Hua Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 22 00:19:19 PST 2026


================
@@ -211,7 +211,7 @@ bool WindowScheduler::initialize() {
   };
   auto PLI = TII->analyzeLoopForPipelining(MBB);
   for (auto &MI : *MBB) {
-    if (MI.isMetaInstruction() || MI.isTerminator())
+    if (MI.isDebugOrPseudoInstr() || MI.isTerminator())
----------------
huaatian wrote:

I think this patch can solve the current issue. However, we should still get @arsenm 's opinion.

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


More information about the llvm-commits mailing list