[midend]通过编译,TODO:验证正确性
This commit is contained in:
@@ -165,7 +165,7 @@ void DominatorTree::computeDominanceFrontiers(Function *F) {
|
||||
// ==============================================================
|
||||
|
||||
|
||||
bool DominatorTreeAnalysisPass::runOnFunction(Function* F) {
|
||||
bool DominatorTreeAnalysisPass::runOnFunction(Function* F, AnalysisManager &AM) {
|
||||
CurrentDominatorTree = std::make_unique<DominatorTree>(F);
|
||||
CurrentDominatorTree->computeDominators(F);
|
||||
CurrentDominatorTree->computeIDoms(F);
|
||||
|
||||
Reference in New Issue
Block a user