[llvm-branch-commits] [llvm] [CodeGen] Use cached version of	getRegPressureSetLimit (PR #119194)
    Matt Arsenault via llvm-branch-commits 
    llvm-branch-commits at lists.llvm.org
       
    Mon Dec  9 07:43:33 PST 2024
    
    
  
================
@@ -123,6 +123,7 @@ namespace {
     const TargetRegisterInfo *TRI = nullptr;
     const MachineFrameInfo *MFI = nullptr;
     MachineRegisterInfo *MRI = nullptr;
+    RegisterClassInfo RegClassInfo;
----------------
arsenm wrote:
The way RegisterClassInfo is currently used, it gets recomputed for every pass that uses it. It should probably move to be a normal analysis 
https://github.com/llvm/llvm-project/pull/119194
    
    
More information about the llvm-branch-commits
mailing list