================
@@ -45,6 +45,10 @@ __attribute__((amdgpu_num_vgpr(64))) // 
expected-no-diagnostics
 __global__ void num_vgpr_64() {
 // CHECK: define{{.*}} amdgpu_kernel void @_Z11num_vgpr_64v() 
[[NUM_VGPR_64:#[0-9]+]]
 }
+__attribute__((amdgpu_kernarg_preload_count(2))) // expected-no-diagnostics
----------------
yxsamliu wrote:

Agreed, this is confusing without `-verify`. I followed the local pattern here, 
but I’ll track removing these comments as a separate NFC cleanup.


https://github.com/llvm/llvm-project/pull/211059
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to