[llvm] [MachinePipeliner] Use `RegisterClassInfo::getRegPressureSetLimit` (PR #119827)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 23:24:41 PST 2024
================
@@ -1326,48 +1326,7 @@ class HighRegisterPressureDetector {
// Calculate the upper limit of each pressure set
void computePressureSetLimit(const RegisterClassInfo &RCI) {
for (unsigned PSet = 0; PSet < PSetNum; PSet++)
- PressureSetLimit[PSet] = TRI->getRegPressureSetLimit(MF, PSet);
-
- // We assume fixed registers, such as stack pointer, are already in use.
- // Therefore subtracting the weight of the fixed registers from the limit of
- // each pressure set in advance.
- SmallDenseSet<Register, 8> FixedRegs;
----------------
arsenm wrote:
Not sure what a fixed register is, but it seems to not be the same as reserved. Seems like another hook with bad defaults
https://github.com/llvm/llvm-project/pull/119827
More information about the llvm-commits
mailing list