[llvm] [CoroEarly][IR] Clarify semantic of llvm.coro.end (PR #191752)

Weibo He via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 04:23:20 PDT 2026


================
@@ -1493,9 +1493,7 @@ A frontend should emit function attribute `presplitcoroutine` for the coroutine.
 Overview:
 """""""""
 
-The '``llvm.coro.end``' marks the point where execution of the resume part of
-the coroutine should end and control should return to the caller.
-
+The '``llvm.coro.end``' marks the point where access to the coroutine frame ends.
----------------
NewSigma wrote:

Personally, I feel the wording not entirely precise for this pr, but I’m open to it.

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


More information about the llvm-commits mailing list