OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9601a3
)
Revert "[LSR] Tweak setup cost depth threshold to 10."
author
Amara Emerson
<aemerson@apple.com>
Mon, 13 May 2019 15:37:18 +0000
(15:37 +0000)
committer
Amara Emerson
<aemerson@apple.com>
Mon, 13 May 2019 15:37:18 +0000
(15:37 +0000)
Changing the threshold might not be the best long term approach. Revert for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360589
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index
9247ae3
..
7688601
100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
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