[Mlir-commits] [clang] [llvm] [mlir] [NVPTX] Switch front-ends and tests to ptx_kernel cc (PR #120806)
Alex MacLean
llvmlistbot at llvm.org
Mon Dec 23 08:44:55 PST 2024
================
@@ -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
More information about the Mlir-commits
mailing list