From: Amara Emerson Date: Mon, 13 May 2019 15:37:18 +0000 (+0000) Subject: Revert "[LSR] Tweak setup cost depth threshold to 10." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6908830c21ac78ab96abdff1de97fb2484580411;p=llvm Revert "[LSR] Tweak setup cost depth threshold to 10." 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 --- diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 9247ae35adb..768860140e6 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -165,7 +165,7 @@ static cl::opt ComplexityLimit( cl::desc("LSR search space complexity limit")); static cl::opt 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