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

Chandana Mudda via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 5 03:49:04 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.isMetaInstruction() && !MI.isImplicitDef()) || MI.isTerminator())
----------------
chandmudda wrote:

@arsenm and @huaatian, Thank you for your comments. Maybe we can handle this isMetaInstruction() in another patch.

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


More information about the llvm-commits mailing list