[PATCH] D142620: [Coroutines] Improve rematerialization stage
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 10:55:06 PST 2023
sebastian-ne accepted this revision.
sebastian-ne added a comment.
This revision is now accepted and ready to land.
Looks good to me, but please give it a few days in case someone else has a comment.
================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:366-372
+ for (auto &I : WorkList) {
+ if (I->Node == D) {
+ NoMatch = false;
+ N->Children.push_back(I.get());
+ break;
+ }
+ }
----------------
Maybe it makes sense to use a Set for the Worklist?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142620/new/
https://reviews.llvm.org/D142620
More information about the llvm-commits
mailing list