From e4ea2878b891a08639c5ef4b20c9b5d56577fb74 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 3 May 2019 00:15:23 +0000 Subject: [PATCH] Tidy up a comment, fix a typo, remove a comment that's obsolete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359852 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Passes/PassBuilder.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Passes/PassBuilder.cpp b/lib/Passes/PassBuilder.cpp index 1b4bffc0752..f8c62a876ff 100644 --- a/lib/Passes/PassBuilder.cpp +++ b/lib/Passes/PassBuilder.cpp @@ -1235,7 +1235,6 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level, bool DebugLogging, // FIXME: once we fix LoopPass Manager, add LICM here. // FIXME: once we provide support for enabling MLSM, add it here. - // FIXME: once we provide support for enabling NewGVN, add it here. if (RunNewGVN) MainFPM.addPass(NewGVNPass()); else @@ -1248,7 +1247,7 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level, bool DebugLogging, MainFPM.addPass(DSEPass()); // FIXME: at this point, we run a bunch of loop passes: - // indVarSimplify, loopDeletion, loopInterchange, loopUnrool, + // indVarSimplify, loopDeletion, loopInterchange, loopUnroll, // loopVectorize. Enable them once the remaining issue with LPM // are sorted out. @@ -1298,7 +1297,7 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level, bool DebugLogging, // Now that we have optimized the program, discard unreachable functions. MPM.addPass(GlobalDCEPass()); - // FIXME: Enable MergeFuncs, conditionally, after ported, maybe. + // FIXME: Maybe enable MergeFuncs conditionally after it's ported. return MPM; } -- 2.50.1