With architected SGPRs, workgroup IDs are passed into a compute shader
in TTMP registers. Allow for this in AMDGPUResourceUsageAnalysis instead
of failing an assertion.
Details
Details
- Reviewers
cdevadas - Group Reviewers
Restricted Project - Commits
- rG2d39f5b5cdcb: [AMDGPU] Allow use of TTMP registers in AMDGPUResourceUsageAnalysis
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp | ||
---|---|---|
359 | Shouldn't we retain the assertion for TTMP reg sizes bigger than 32-bit? |
llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp | ||
---|---|---|
359 | I just don't see the point of the assertion, for any reg size. |
Shouldn't we retain the assertion for TTMP reg sizes bigger than 32-bit?
We don't have any TTMP tuple usage, I guess.