================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to