summaryrefslogtreecommitdiffstats
path: root/lib/Passes
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-06-22 22:58:12 +0000
committerEric Christopher <echristo@gmail.com>2017-06-22 22:58:12 +0000
commite1ae008085fc0ccb07c31544a07302461cd6132d (patch)
tree3f619e1f70514de6d254c426309c0654810d22e8 /lib/Passes
parentd6dbca43aa5203d6a0e7a3b7d88a6a7729173f5c (diff)
Remove the LoadCombine pass. It was never enabled and is unsupported.
Based on discussions with the author on mailing lists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Passes')
-rw-r--r--lib/Passes/PassBuilder.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Passes/PassBuilder.cpp b/lib/Passes/PassBuilder.cpp
index afd66f55720a..f4e0b8dcf4ac 100644
--- a/lib/Passes/PassBuilder.cpp
+++ b/lib/Passes/PassBuilder.cpp
@@ -923,9 +923,6 @@ ModulePassManager PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
MainFPM.add(AlignmentFromAssumptionsPass());
#endif
- // FIXME: Conditionally run LoadCombine here, after it's ported
- // (in case we still have this pass, given its questionable usefulness).
-
// FIXME: add peephole extensions to the PM here.
MainFPM.addPass(InstCombinePass());
MainFPM.addPass(JumpThreadingPass());