Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 788dfe5

Browse files
committed
Fixup r279618, instantiate *AnalysisManagerProxy<*AnalysisManager,LazyCallGraph::SCC>, instead of *AnalysisManagerProxy<*AnalysisManager,LazyCallGraph::SCC,LazyCallGraph&>, for PassID.
Or they were not instantiated as expected; llvm::InnerAnalysisManagerProxy<llvm::AnalysisManager<llvm::Function>, llvm::LazyCallGraph::SCC>::PassID llvm::InnerAnalysisManagerProxy<llvm::AnalysisManager<llvm::Function>, llvm::LazyCallGraph::SCC>::PassID git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280105 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 39dbb53 commit 788dfe5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/llvm/Analysis/CGSCCPassManager.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ extern template class InnerAnalysisManagerProxy<CGSCCAnalysisManager, Module>;
147147
typedef InnerAnalysisManagerProxy<CGSCCAnalysisManager, Module>
148148
CGSCCAnalysisManagerModuleProxy;
149149

150-
extern template class OuterAnalysisManagerProxy<
151-
ModuleAnalysisManager, LazyCallGraph::SCC, LazyCallGraph &>;
150+
extern template class OuterAnalysisManagerProxy<ModuleAnalysisManager,
151+
LazyCallGraph::SCC>;
152152
/// A proxy from a \c ModuleAnalysisManager to an \c SCC.
153153
typedef OuterAnalysisManagerProxy<ModuleAnalysisManager, LazyCallGraph::SCC,
154154
LazyCallGraph &>
@@ -394,8 +394,8 @@ createModuleToPostOrderCGSCCPassAdaptor(CGSCCPassT Pass, bool DebugLogging = fal
394394
return ModuleToPostOrderCGSCCPassAdaptor<CGSCCPassT>(std::move(Pass), DebugLogging);
395395
}
396396

397-
extern template class InnerAnalysisManagerProxy<
398-
FunctionAnalysisManager, LazyCallGraph::SCC, LazyCallGraph &>;
397+
extern template class InnerAnalysisManagerProxy<FunctionAnalysisManager,
398+
LazyCallGraph::SCC>;
399399
/// A proxy from a \c FunctionAnalysisManager to an \c SCC.
400400
typedef InnerAnalysisManagerProxy<FunctionAnalysisManager, LazyCallGraph::SCC,
401401
LazyCallGraph &>

lib/Analysis/CGSCCPassManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
2020
LazyCallGraph &, CGSCCUpdateResult &>;
2121
template class InnerAnalysisManagerProxy<CGSCCAnalysisManager, Module>;
2222
template class OuterAnalysisManagerProxy<ModuleAnalysisManager,
23-
LazyCallGraph::SCC, LazyCallGraph &>;
23+
LazyCallGraph::SCC>;
2424
template class InnerAnalysisManagerProxy<FunctionAnalysisManager,
25-
LazyCallGraph::SCC, LazyCallGraph &>;
25+
LazyCallGraph::SCC>;
2626
template class OuterAnalysisManagerProxy<CGSCCAnalysisManager, Function>;
2727

2828
/// Explicitly specialize the pass manager run method to handle call graph

0 commit comments

Comments
 (0)