[PATCH] D138531: [PATCH] [NVPTX] Backend support for variadic functions

Pavel Kopyl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 16:23:16 PDT 2023


pavelkopyl added a comment.

I agree, the documentation is a bit messy. I used the information from section 5.1 State Spaces, in particular 5.1.6.4 <https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#device-function-parameters>. At least, it admits that one can take the address of a ".param" formal parameter and then use ld.local. On the other hand, it says nothing about when should do this, so yes, I mostly tried to mimic NVCC.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138531/new/

https://reviews.llvm.org/D138531



More information about the llvm-commits mailing list