[llvm] [AMDGPU] Ignore inactive VGPRs in .vgpr_count (PR #149052)

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 01:54:42 PDT 2025


================
@@ -1367,6 +1367,28 @@ constexpr bool isEntryFunctionCC(CallingConv::ID CC) {
   }
 }
 
+// Shaders that are entry functions need to count input arguments even if
----------------
rovka wrote:

Ok, I made an attempt at that [here](https://github.com/llvm/llvm-project/pull/151672). For some reason Graphite doesn't let me move this PR on top of that one, but please take a look at that and let me know what you think. (and I'll try to figure out Graphite in the meantime)

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


More information about the llvm-commits mailing list