[llvm-branch-commits] [llvm] [AMDGPU][gfx1250] Add `cu-store` subtarget feature (PR #150588)
Pierre van Houtryve via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 28 01:23:28 PDT 2025
================
@@ -6066,6 +6066,12 @@ bool AMDGPUAsmParser::ParseDirectiveAMDHSAKernel() {
ExprVal, ValRange);
if (Val)
ImpliedUserSGPRCount += 1;
+ } else if (ID == ".amdhsa_uses_cu_stores") {
+ if (!isGFX1250())
----------------
Pierre-vh wrote:
I don't understand, only `.amdhsa_uses_cu_stores` needs to be in the metadata. The intention is that the runtime can check whether the code was built with `+` or `-cu-stores`
https://github.com/llvm/llvm-project/pull/150588
More information about the llvm-branch-commits
mailing list