summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2018-11-28 17:23:03 +0000
committerJohn Brawn <john.brawn@arm.com>2018-11-28 17:23:03 +0000
commit4557ffeb630eb59cd124a0df05e12a0a4cb82003 (patch)
treedc100c6fe4106161ac625a7b4b080e27d9d78675 /llvm/lib
parentad320ae3e241e125b030c4b431574a3e789141d8 (diff)
downloadbcm5719-llvm-4557ffeb630eb59cd124a0df05e12a0a4cb82003.tar.gz
bcm5719-llvm-4557ffeb630eb59cd124a0df05e12a0a4cb82003.zip
[LICM] Enable control flow hoisting by default
Differential Revision: https://reviews.llvm.org/D54949 llvm-svn: 347778
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/LICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp
index 6a442774912..b2c15860d18 100644
--- a/llvm/lib/Transforms/Scalar/LICM.cpp
+++ b/llvm/lib/Transforms/Scalar/LICM.cpp
@@ -91,7 +91,7 @@ static cl::opt<bool>
cl::desc("Disable memory promotion in LICM pass"));
static cl::opt<bool> ControlFlowHoisting(
- "licm-control-flow-hoisting", cl::Hidden, cl::init(false),
+ "licm-control-flow-hoisting", cl::Hidden, cl::init(true),
cl::desc("Enable control flow (and PHI) hoisting in LICM"));
static cl::opt<uint32_t> MaxNumUsesTraversed(
OpenPOWER on IntegriCloud