[PATCH] D139422: [AMDGPU] Accelerate SIRegisterInfo::getPhysRegClass

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 03:31:54 PST 2022


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:40
 std::array<std::array<uint16_t, 32>, 9> SIRegisterInfo::SubRegFromChannelTable;
+std::array<uint8_t, AMDGPU::NUM_TARGET_REGS> SIRegisterInfo::PhysRegClass;
 
----------------
Remove this


================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.h:49
 
+  static std::array<uint8_t, AMDGPU::NUM_TARGET_REGS> PhysRegClass;
+
----------------
Remove this


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139422/new/

https://reviews.llvm.org/D139422



More information about the llvm-commits mailing list