[PATCH] D142620: [Coroutines] Improve rematerialization stage
David Stuttard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 26 05:41:19 PST 2023
dstuttard created this revision.
Herald added subscribers: ChuanqiXu, hiraditya.
Herald added a project: All.
dstuttard requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
As originally implemented, the rematerialization of valid instructions across
the suspend point would iterate 4 times, meaning that up to 4 instructions could
be rematerialized.
This implementation changes that approach to instead build a graph of
rematerializable instructions, then move all of them. This is faster than the
original approach and is not limited to an arbitrary limit.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142620
Files:
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
llvm/test/Transforms/Coroutines/coro-materialize.ll
llvm/test/Transforms/Coroutines/coro-retcon-remat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142620.492411.patch
Type: text/x-patch
Size: 15787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230126/df512e3b/attachment.bin>
More information about the llvm-commits
mailing list