[Mlir-commits] [clang] [llvm] [mlir] [NVPTX] Switch front-ends and tests to ptx_kernel cc (PR #120806)

Durgadoss R llvmlistbot at llvm.org
Mon Dec 23 05:25:49 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
----------------
durga4github wrote:

So, downstream (non-upstream ones) users should migrate to this cc-based instead of kernel-metadata based, right?
I am asking since this does not seem to be an opt-in/optional change.

Alex, Could you please clarify?

https://github.com/llvm/llvm-project/pull/120806


More information about the Mlir-commits mailing list