[PATCH] D87596: [Coroutines] Reuse storage for local variables with non-overlapping lifetimes
Xun Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 20:46:08 PDT 2020
lxfind added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Coroutines/CoroSplit.h:28-32
+ CoroSplitPass(PassBuilder::OptimizationLevel Level) {
+ /// If not both Speed level and Size level are zero,
+ /// the OptLevel should not be zero.
+ OptLevel = std::max(Level.getSpeedupLevel(), Level.getSizeLevel());
+ }
----------------
This isn't needed anymore
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87596/new/
https://reviews.llvm.org/D87596
More information about the llvm-commits
mailing list