[llvm-branch-commits] [llvm] [CodeGen] Use cached version of getRegPressureSetLimit (PR #119194)
Sam Elliott via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 9 07:50:22 PST 2024
================
@@ -123,6 +123,7 @@ namespace {
const TargetRegisterInfo *TRI = nullptr;
const MachineFrameInfo *MFI = nullptr;
MachineRegisterInfo *MRI = nullptr;
+ RegisterClassInfo RegClassInfo;
----------------
lenary wrote:
I was thinking this, especially as it has some saved state to work out when it needs to recompute. I think that's probably a good follow-up?
https://github.com/llvm/llvm-project/pull/119194
More information about the llvm-branch-commits
mailing list