summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2019-05-13 15:37:18 +0000
committerAmara Emerson <aemerson@apple.com>2019-05-13 15:37:18 +0000
commite5248e6b41e05f8384591baa4d2c8ccf35708a3c (patch)
treed9b3ed2e9e5ccac4bce5a26ac40f5569fd9fd7e9
parentd9aa928603330b77a3e6d2afc33f44f3357092f0 (diff)
downloadbcm5719-llvm-e5248e6b41e05f8384591baa4d2c8ccf35708a3c.tar.gz
bcm5719-llvm-e5248e6b41e05f8384591baa4d2c8ccf35708a3c.zip
Revert "[LSR] Tweak setup cost depth threshold to 10."
Changing the threshold might not be the best long term approach. Revert for now. llvm-svn: 360589
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 9247ae35adb..768860140e6 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -165,7 +165,7 @@ static cl::opt<unsigned> ComplexityLimit(
cl::desc("LSR search space complexity limit"));
static cl::opt<unsigned> SetupCostDepthLimit(
- "lsr-setupcost-depth-limit", cl::Hidden, cl::init(10),
+ "lsr-setupcost-depth-limit", cl::Hidden, cl::init(7),
cl::desc("The limit on recursion depth for LSRs setup cost"));
#ifndef NDEBUG
OpenPOWER on IntegriCloud