The original change introduced a depth limit of 7 which caused a 22% regression
in the Swift MapReduceLazyCollection & Ackermann benchmarks. This new threshold
still ensures that the original test case doesn't hang.
rdar://
50359639
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360444
91177308-0d34-0410-b5e6-
96231b3b80d8
cl::desc("LSR search space complexity limit"));
static cl::opt<unsigned> SetupCostDepthLimit(
- "lsr-setupcost-depth-limit", cl::Hidden, cl::init(7),
+ "lsr-setupcost-depth-limit", cl::Hidden, cl::init(10),
cl::desc("The limit on recursion depth for LSRs setup cost"));
#ifndef NDEBUG