[llvm-branch-commits] [llvm] [AMDGPU] Add SubtargetFeature for dynamic VGPR mode (PR #130030)

Diana Picus via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Mar 7 02:12:16 PST 2025


rovka wrote:

> It seems to me this should be a separate attribute, it's not really part of the target

I don't really disagree with that. I think I made it a feature because it's kind of a hardware mode (i.e. it takes over a CU, and waves that use dynamic VGPRs can't be mixed with waves that don't). If you feel strongly about this, I can make it an attribute. We already have places downstream that use it as a target feature, so I would like to have the subtarget feature as well while we migrate away from it. Should I add an attribute too in this PR?

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


More information about the llvm-branch-commits mailing list