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

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 01:51:05 PDT 2026


ChuanqiXu9 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.

How does this relate to https://github.com/llvm/llvm-project/pull/151067 ?

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


More information about the llvm-commits mailing list