Skip to content

Commit

Permalink
[NFC] [Coroutines] Remove unused variable: UnreachableCache
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuanqiXu9 committed May 25, 2021
1 parent 4b55102 commit 400a9d3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Coroutines/CoroSplit.cpp
Expand Up @@ -661,7 +661,6 @@ void CoroCloner::salvageDebugInfo() {
// Remove all salvaged dbg.declare intrinsics that became
// either unreachable or stale due to the CoroSplit transformation.
DominatorTree DomTree(*NewF);
SmallDenseMap<BasicBlock *, bool, 8> UnreachableCache;
auto IsUnreachableBlock = [&](BasicBlock *BB) {
return !isPotentiallyReachable(&NewF->getEntryBlock(), BB, nullptr,
&DomTree);
Expand Down

0 comments on commit 400a9d3

Please sign in to comment.