summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2017-09-01 09:43:08 +0000
committerClement Courbet <courbet@google.com>2017-09-01 09:43:08 +0000
commit316212575b3528e09155a14e5a57545987a297c3 (patch)
treebc8078c5401b177b0e8b21d104fbfcb81e5527f2 /llvm/lib/CodeGen
parentf6959ed1b1539ea1e44ebf9e06af0bcc1968d775 (diff)
downloadbcm5719-llvm-316212575b3528e09155a14e5a57545987a297c3.tar.gz
bcm5719-llvm-316212575b3528e09155a14e5a57545987a297c3.zip
Revert "[MergeICmps] MergeICmps is a new optimization pass that turns chains of integer"
Break build This reverts commit d07ab866f7f88f81e49046d691a80dcd32d7198b. llvm-svn: 312317
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/TargetPassConfig.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 329768769f1..481baea2dff 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -94,10 +94,6 @@ static cl::opt<bool> EnableImplicitNullChecks(
"enable-implicit-null-checks",
cl::desc("Fold null checks into faulting memory operations"),
cl::init(false));
-static cl::opt<bool> EnableMergeICmps(
- "enable-mergeicmps",
- cl::desc("Merge ICmp chains into a single memcmp"),
- cl::init(false));
static cl::opt<bool> PrintLSR("print-lsr-output", cl::Hidden,
cl::desc("Print LLVM IR produced by the loop-reduce pass"));
static cl::opt<bool> PrintISelInput("print-isel-input", cl::Hidden,
@@ -595,10 +591,6 @@ void TargetPassConfig::addIRPasses() {
addPass(createPrintFunctionPass(dbgs(), "\n\n*** Code after LSR ***\n"));
}
- if (getOptLevel() != CodeGenOpt::None && EnableMergeICmps) {
- addPass(createMergeICmpsPass());
- }
-
// Run GC lowering passes for builtin collectors
// TODO: add a pass insertion point here
addPass(createGCLoweringPass());
OpenPOWER on IntegriCloud