[PATCH] D87596: [Coroutines] Reuse storage for local variables with non-overlapping lifetimes
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 00:12:30 PDT 2020
ChuanqiXu updated this revision to Diff 292417.
ChuanqiXu added a comment.
Gate this optimization under optimization level and put the optimization code into a helper class.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87596/new/
https://reviews.llvm.org/D87596
Files:
llvm/include/llvm/Transforms/Coroutines.h
llvm/include/llvm/Transforms/Coroutines/CoroSplit.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Coroutines/CMakeLists.txt
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
llvm/lib/Transforms/Coroutines/CoroInternal.h
llvm/lib/Transforms/Coroutines/CoroSplit.cpp
llvm/lib/Transforms/Coroutines/Coroutines.cpp
llvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-00.ll
llvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-01.ll
llvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-02.ll
llvm/test/Transforms/Coroutines/coro-frame-reuse-alloca-03.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87596.292417.patch
Type: text/x-patch
Size: 38329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200917/67c950b0/attachment.bin>
More information about the llvm-commits
mailing list