[llvm] [llvm][CodeGen] Added missing initialization failure information for window scheduler (PR #99449)

Kai Yan via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 19:23:06 PDT 2024


================
@@ -232,8 +232,11 @@ bool WindowScheduler::initialize() {
       return false;
     }
     for (auto &Def : MI.all_defs())
-      if (Def.isReg() && Def.getReg().isPhysical())
+      if (Def.isReg() && Def.getReg().isPhysical()) {
+        LLVM_DEBUG(dbgs() << "Physical registers are not supported in "
----------------
kaiyan96 wrote:

Indeed, there is more debug information. Our consideration is that as a newly proposed software pipelining algorithm, the window algorithm may require more detailed output information to facilitate analysis and debugging.

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


More information about the llvm-commits mailing list