[llvm-branch-commits] [llvm] [LLVM][Coroutines] Create `.noalloc` variant of switch ABI coroutine ramp functions during CoroSplit (PR #99283)
Adrian Vogelsgesang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 21 18:34:09 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
----------------
vogelsgesang wrote:
I think the name `coro_must_elide` is a misnormer. "must elide" sounds as if it would be a compilation error if elision fails. However, this is not the case
https://github.com/llvm/llvm-project/pull/99283
More information about the llvm-branch-commits
mailing list