small fix in removals from passes dependencies

This commit is contained in:
mkoch
2023-09-21 21:15:12 +03:00
parent 877c5a0922
commit 27d2859d53
2 changed files with 3 additions and 1 deletions

View File

@@ -276,6 +276,8 @@ void InitPassesDependencies(map<passes, vector<passes>> &passDepsIn, set<passes>
void removalsFromPassesDependencies(map<passes, vector<passes>>& passDepsIn, const int curr_regime)
{
passDeps = &passDepsIn;
Pass(INSERT_PARALLEL_DIRS_NODIST) -= list({ FIND_FUNC_TO_INCLUDE, CHECK_FUNC_TO_INCLUDE });
Pass(passes(curr_regime)).applyRemovals();

View File

@@ -228,7 +228,7 @@ static void runPassesLoop(const vector<passes> &passesToRun, const char *prName,
if (showDebug)
printf("SAPFOR: run pass %d -> %s\n", passesToRun[i], passNames[passesToRun[i]]);
__spf_print(1, "SAPFOR: run pass %d -> %s\n", passesToRun[i], passNames[passesToRun[i]]);
runPass(passesToRun[i], prName, folderNameChar);
runPass(passesToRun[i], prName, folderNameChar, true);
}
}
#if __BOOST