[PATCH] D150671: RISCV/InstrInfo: model register pressure for MICombiner
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 08:40:02 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:1418
+
+ unsigned GPRLimit = TRI->getRegPressureSetLimit(
+ *MBB->getParent(), RISCV::RegisterPressureSets::GPR);
----------------
Should this be using RegisterClassInfo::getRegPressureSetLimit which will take into account Reserved registers? I see uses of that in `RegPressureTracker`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150671/new/
https://reviews.llvm.org/D150671
More information about the llvm-commits
mailing list