================
@@ -2117,6 +2118,30 @@ Example:
       %hdl.result = ... ; get address of returned coroutine handle
       ret ptr %hdl.result
 
+'llvm.coro.is_in_resume' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+::
+
+  declare i1 @llvm.coro.is_in_resume()
+
+Overview:
+"""""""""
+
+The '``llvm.coro.is_in_resume``' intrinsic returns a bool value that marks 
coroutine resume
+function and ramp function.
+
+Arguments:
+""""""""""
+
+None
+
+Semantics:
+""""""""""
+
+The `CoroSpit` pass replaces `coro.is_in_resume` with ``True`` in the resume 
functions,
----------------
NewSigma wrote:

Use `coro.is_in_ramp`

https://github.com/llvm/llvm-project/pull/153404
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to