[llvm] [NVPTX] Add Custom ABI (abi_preserve) support via function attributes (PR #227499)

Durgadoss R via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 03:56:53 PDT 2026


================
@@ -844,6 +852,8 @@ void NVPTXAsmPrinter::emitFunctionEntryLabel() {
   if (isKernelFunction(*F))
     emitKernelFunctionDirectives(*F, O);
 
+  emitFunctionDirectives(*F, O);
----------------
durga4github wrote:

Can we add a comment stating that this needs to be "here" ...between .func and the body?
would moving it after no-return work?

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


More information about the llvm-commits mailing list