[llvm] [MISched] Add statistics to quantify scheduling (PR #138090)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Thu May 1 09:21:25 PDT 2025


================
@@ -3503,6 +3511,9 @@ void GenericScheduler::initPolicy(MachineBasicBlock::iterator Begin,
     RegionPolicy.OnlyBottomUp = false;
     RegionPolicy.OnlyTopDown = false;
   }
+
+  this->BotIdx = NumRegionInstrs - 1;
----------------
mshockwave wrote:

we don't usually add `this` unless there is a naming confusion. Is there any local variable with the same name?

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


More information about the llvm-commits mailing list