We can statically decide whether or not a register pressure set is for
SGPRs or VGPRs, so we don't need to re-compute this information in
SIRegisterInfo::getRegPressureSetLimit().
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
118–121 ↗ | (On Diff #40597) | Are both SGPRPressureSets and VGPRPressureSets necessary? Can you just have one and assume if it isn't it's the other? |
lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
118–121 ↗ | (On Diff #40597) | It's because of the VS_32 register class has both SGPRs. and VGPRs. |
Comment Actions
LGTM
lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
118–121 ↗ | (On Diff #40597) | I should try to reapply my patch to try to get VS_32 to not influence pressure |