[llvm] [AMDGPU] Skip register uses in AMDGPUResourceUsageAnalysis (PR #133242)
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 2 05:53:07 PDT 2025
================
@@ -4255,10 +4255,9 @@ same *vendor-name*.
wavefront for
GFX6-GFX9. A register
is required if it is
- used explicitly, or
+ written to, or
----------------
rovka wrote:
I think @jayfoad's point was that we don't need to count those because they're counted wherever they're defined. I tried to explain that in the new PR description, but let me know if you disagree with that reasoning (personally I'm also leaning towards being more precise, i.e. including the reads as well, but then I don't know how to reduce the usage for the init-whole-wave case without giving it special treatment).
https://github.com/llvm/llvm-project/pull/133242
More information about the llvm-commits
mailing list