From: Eric Christopher Date: Fri, 3 May 2019 00:15:23 +0000 (+0000) Subject: Tidy up a comment, fix a typo, remove a comment that's obsolete. X-Git-Tag: llvmorg-10-init~6385 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86e2f169bb7b9fe75dc35bb21767c4961decb0a5;p=platform%2Fupstream%2Fllvm.git Tidy up a comment, fix a typo, remove a comment that's obsolete. llvm-svn: 359852 --- diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp index 1b4bffc..f8c62a8 100644 --- a/llvm/lib/Passes/PassBuilder.cpp +++ b/llvm/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; }