[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 01:45:20 PDT 2026


NewSigma wrote:

> Could you clarify why now the promise will be assumed to be escaping?

In the declaration of `llvm.coro.id`, the promise parameter does not have `nocapture` attribute. As a result, passes will assume that the promise pointer may be captured.

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


More information about the llvm-commits mailing list