[PATCH] D144680: [Coroutines] Avoid creating conditional cleanup markers in suspend block
Bruno Cardoso Lopes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 23 15:29:26 PST 2023
bruno added a comment.
Thanks for working on this Wei!
Can you please add a testcase?
================
Comment at: clang/lib/CodeGen/CodeGenFunction.h:336
std::unique_ptr<CGCoroData> Data;
+ bool InSuspendBlock = false;
CGCoroInfo();
----------------
Should this live inside CGCoroData instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144680/new/
https://reviews.llvm.org/D144680
More information about the cfe-commits
mailing list