Weibo He a3d9708a41
[CoroElide][IR] Add llvm.coro.dead intrinsic (#188899)
Part 3/4: Implement HALO for coroutines that flow off final suspend.
Parent PR approved in https://github.com/llvm/llvm-project/pull/185336.
This version also elides `coro.dead` for coroutines that never suspend,
with additional tests.

This patch add an optimization hint `llvm.coro.dead` for cases where
`llvm.coro.destroy` is not available so that HALO works.
2026-03-27 08:19:13 +00:00
..