[PATCH] D23687: AMDGPU/SI: Use a better method for determining the largest pressure sets

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 19 10:50:17 PDT 2016


tstellarAMD marked an inline comment as done.

================
Comment at: lib/Target/AMDGPU/SIRegisterInfo.cpp:100
@@ -105,1 +99,3 @@
+  VGPRSetID = NumRegPressureSets;
+  std::map<unsigned, unsigned> PressureSetRegUnits;
 
----------------
arsenm wrote:
> DenseMap?
I used a vector instead.


https://reviews.llvm.org/D23687





More information about the llvm-commits mailing list