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

Akshay Deodhar via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 20:11:45 PDT 2026


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

Moving it after no-return would work (have done so now). I can add a comment.

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


More information about the llvm-commits mailing list