[PATCH] D71903: [Coroutines][6/6] Clang schedules new passes
JunMa via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 26 21:40:47 PST 2019
junparser added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:1227
+ MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(CoroSplitPass()));
+ MPM.addPass(createModuleToFunctionPassAdaptor(CoroElidePass()));
+ MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(CoroSplitPass()));
----------------
Since coro elision depends on other optimization pass(inline and so on) implicitly, how can we adjust the pipeline to achieve this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71903/new/
https://reviews.llvm.org/D71903
More information about the cfe-commits
mailing list