================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits