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

Cullen Rhodes via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 01:20:13 PDT 2025


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

there is for `NumRegionInstrs` but not `BotIdx`, removed thanks 👍 

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


More information about the llvm-commits mailing list