summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Passes
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-05-03 00:15:23 +0000
committerEric Christopher <echristo@gmail.com>2019-05-03 00:15:23 +0000
commit86e2f169bb7b9fe75dc35bb21767c4961decb0a5 (patch)
treeffec15cf4bdb940cde5b2f9b75eb6af3ff867885 /llvm/lib/Passes
parent3947968e7fa35b004b71812a7b4a3fed7de8b781 (diff)
downloadbcm5719-llvm-86e2f169bb7b9fe75dc35bb21767c4961decb0a5.tar.gz
bcm5719-llvm-86e2f169bb7b9fe75dc35bb21767c4961decb0a5.zip
Tidy up a comment, fix a typo, remove a comment that's obsolete.
llvm-svn: 359852
Diffstat (limited to 'llvm/lib/Passes')
-rw-r--r--llvm/lib/Passes/PassBuilder.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp
index 1b4bffc0752..f8c62a876ff 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;
}
OpenPOWER on IntegriCloud