diff options
Diffstat (limited to 'llvm/tools/opt/opt.cpp')
| -rw-r--r-- | llvm/tools/opt/opt.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index 1160412e37af..a02997f82bb3 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/tools/opt/opt.cpp @@ -352,32 +352,6 @@ static void AddOptimizationPasses(legacy::PassManagerBase &MPM, if (TM) TM->adjustPassManager(Builder); - switch (PGOKindFlag) { - case InstrGen: - Builder.EnablePGOInstrGen = true; - Builder.PGOInstrGen = ProfileFile; - break; - case InstrUse: - Builder.PGOInstrUse = ProfileFile; - break; - case SampleUse: - Builder.PGOSampleUse = ProfileFile; - break; - default: - break; - } - - switch (CSPGOKindFlag) { - case CSInstrGen: - Builder.EnablePGOCSInstrGen = true; - break; - case CSInstrUse: - Builder.EnablePGOCSInstrUse = true; - break; - default: - break; - } - Builder.populateFunctionPassManager(FPM); Builder.populateModulePassManager(MPM); } @@ -545,8 +519,6 @@ int main(int argc, char **argv) { initializeIndirectBrExpandPassPass(Registry); initializeInterleavedLoadCombinePass(Registry); initializeInterleavedAccessPass(Registry); - initializeEntryExitInstrumenterPass(Registry); - initializePostInlineEntryExitInstrumenterPass(Registry); initializeUnreachableBlockElimLegacyPassPass(Registry); initializeExpandReductionsPass(Registry); initializeExpandVectorPredicationPass(Registry); |
