[llvm] [AMDGPU] Skip register uses in AMDGPUResourceUsageAnalysis (PR #133242)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 1 07:16:06 PDT 2025


================
@@ -12,7 +12,7 @@ declare float @llvm.fma.f32(float, float, float)
 ; CHECK:  v_mov_b32_e32 v{{[0-9]+}}, 0
 ; CHECK:  v_mov_b32_e32 v{{[0-9]+}}, 0
 ; It's probably OK if this is slightly higher:
-; CHECK: ; NumVgprs: 8
+; CHECK: ; NumVgprs: 5
----------------
arsenm wrote:

The first store in the loop is doing a vector store with only the 0th element defined 

https://github.com/llvm/llvm-project/pull/133242


More information about the llvm-commits mailing list