================
@@ -556,19 +556,16 @@ llvm.func @kernel_func() attributes {nvvm.kernel} {
   llvm.return
 }
 
-// CHECK:     !nvvm.annotations =
-// CHECK-NOT: {ptr @nvvm_special_regs, !"kernel", i32 1}
-// CHECK:     {ptr @kernel_func, !"kernel", i32 1}
+// CHECK: ptx_kernel void @kernel_func
----------------
AlexMaclean wrote:

This change does not remove support for specifying a kernel via the metadata. 
It simply updates frontends and tests to use a different one of the two already 
supported methods for marking kernels. Long term I hope to remove the support 
for metadata, so downstream users should move the calling-convention, but this 
change does not yet force that. 

https://github.com/llvm/llvm-project/pull/120806
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to