[llvm] [RFC][MC] Cache MCRegAliasIterator (PR #93510)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 12 00:21:58 PDT 2024
================
@@ -187,6 +187,9 @@ class MCRegisterInfo {
DenseMap<MCRegister, int> L2SEHRegs; // LLVM to SEH regs mapping
DenseMap<MCRegister, int> L2CVRegs; // LLVM to CV regs mapping
+ mutable DenseMap<MCPhysReg, std::vector<MCPhysReg>> RegAliasesCache;
----------------
s-barannikov wrote:
What is the total size of this map (worst case) for AMDGPU?
https://github.com/llvm/llvm-project/pull/93510
More information about the llvm-commits
mailing list