[llvm] [ARM] Use `RegisterClassInfo::getRegPressureSetLimit` (PR #120377)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 04:41:10 PST 2024


================
@@ -6979,7 +6979,7 @@ bool ARMPipelinerLoopInfo::tooMuchRegisterPressure(SwingSchedulerDAG &SSD,
 
   auto &P = RPTracker.getPressure().MaxSetPressure;
   for (unsigned I = 0, E = P.size(); I < E; ++I)
-    if (P[I] > TRI->getRegPressureSetLimit(*MF, I)) {
----------------
davemgreen wrote:

Remove TRI variable now.

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


More information about the llvm-commits mailing list