[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
Mon Sep 21 22:56:00 PDT 2020
ChuanqiXu updated this revision to Diff 293344.
ChuanqiXu added a comment.
- Move all the implementation details into addFieldForAllocas function.
- Change the type of ForSpill member of Field from pointer to a SmallVector of Spill.
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.293344.patch
Type: text/x-patch
Size: 38102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/5a0928a6/attachment-0001.bin>
More information about the llvm-commits
mailing list