[llvm] [Coroutines][Docs] Add a discussion on the handling of certain parameter attribs (PR #117183)
Chuanqi Xu via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 18:17:26 PST 2024
================
@@ -810,6 +810,28 @@ The LLVM IR for a coroutine using a Coroutine with a custom ABI looks like:
ret ptr %hdl
}
+Parameter Attributes
+====================
+Some parameter attributes, used to communicate additional information about the result or parameters of a function, require special handling.
+
+ByVal
+-----
+A ByVal parameter on an argument indicates that the pointer parameter should really be passed by value to the function.
----------------
ChuanqiXu9 wrote:
`the pointer parameter` maybe the pointee?
https://github.com/llvm/llvm-project/pull/117183
More information about the llvm-commits
mailing list