[llvm-branch-commits] [llvm] [LLVM][Coroutines] Create `.noalloc` variant of switch ABI coroutine ramp functions during CoroSplit (PR #99283)

Yuxuan Chen via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 21 19:02:50 PDT 2024


================
@@ -2049,6 +2055,22 @@ the coroutine must reach the final suspend point when it get destroyed.
 
 This attribute only works for switched-resume coroutines now.
 
+coro_must_elide
+---------------
+
+When a Call or Invoke instruction is marked with `coro_must_elide`,
+CoroAnnotationElidePass performs heap elision when possible. Note that for
----------------
yuxuanchen1997 wrote:

What about `coro_elide_safe`?

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


More information about the llvm-branch-commits mailing list