[llvm] [AMDGPU] Skip register uses in AMDGPUResourceUsageAnalysis (PR #133242)
Thomas Symalla via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 3 06:03:20 PDT 2025
================
@@ -0,0 +1,78 @@
+; RUN: llc -mtriple=amdgcn--amdpal -mcpu=gfx1200 < %s | FileCheck %s
+
+; CHECK-LABEL: .shader_functions:
+
+; Make sure that .vgpr_count doesn't include the %inactive.vgpr registers.
+; The shader is free to use any of the VGPRs mapped to a %inactive.vpgr as long as it only touches its active lanes.
----------------
tsymalla wrote:
```suggestion
; The shader is free to use any of the VGPRs mapped to a %inactive.vgpr as long as it only touches its active lanes.
```
https://github.com/llvm/llvm-project/pull/133242
More information about the llvm-commits
mailing list