[PATCH] D102963: CoroSplit: Replace ad-hoc implementation of reachability with API from CFG.h
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 23 18:29:17 PDT 2021
ChuanqiXu accepted this revision.
ChuanqiXu added a comment.
This revision is now accepted and ready to land.
It looks good to me with an unused variables to remove.
================
Comment at: llvm/lib/Transforms/Coroutines/CoroSplit.cpp:664
+ DominatorTree DomTree(*NewF);
+ SmallDenseMap<BasicBlock *, bool, 8> UnreachableCache;
auto IsUnreachableBlock = [&](BasicBlock *BB) {
----------------
It looks like `UnreachableCache` doesn't be used.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102963/new/
https://reviews.llvm.org/D102963
More information about the llvm-commits
mailing list