[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
Fri Sep 25 02:14:03 PDT 2020


ChuanqiXu updated this revision to Diff 294255.
ChuanqiXu added a comment.

instead `OptLevel` in CoroSplit with bool to control whether the compiler would optimize a coroutine.


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/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.294255.patch
Type: text/x-patch
Size: 31909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200925/b86cbeb7/attachment-0001.bin>


More information about the llvm-commits mailing list