[PATCH] D127383: Don't treat readnone call in presplit coroutine as not access memory
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 02:27:17 PDT 2022
nikic added inline comments.
================
Comment at: llvm/include/llvm/IR/InstrTypes.h:1857
+ // coroutines might resume in different threads.
+ (!getFunction() || !getFunction()->isPresplitCoroutine());
+ }
----------------
As it is now much more extensively used, we probably should convert the `"coroutine.presplit"` attribute into an enum attribute to make these queries less expensive.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127383/new/
https://reviews.llvm.org/D127383
More information about the llvm-commits
mailing list