[passmanager] Remove ExecutionKind::UntilFixPoint and all of ExecutionKind.

rdar://29650781
This commit is contained in:
Michael Gottesman
2016-12-19 13:05:41 -08:00
parent f0705a87bf
commit be5ec6f990
9 changed files with 37 additions and 139 deletions

View File

@@ -611,6 +611,6 @@ SILTransform *swift::createExternalFunctionDefinitionsElimination() {
void swift::performSILDeadFunctionElimination(SILModule *M) {
SILPassManager PM(M);
llvm::SmallVector<PassKind, 1> Pass = {PassKind::DeadFunctionElimination};
PM.executePassPipelinePlan(SILPassPipelinePlan::getPassPipelineForKinds(
SILPassPipelinePlan::ExecutionKind::OneIteration, Pass));
PM.executePassPipelinePlan(
SILPassPipelinePlan::getPassPipelineForKinds(Pass));
}