forked from OSchip/llvm-project
[InstCombine] Lower infinite combine loop detection thresholds
It's been a month since 2f3862eb9f
,
and no new bug reports about the threshold were filled,
so let's bump it again and wait again.
This commit is contained in:
parent
c1b1868f35
commit
71e0b82c9f
|
@ -127,7 +127,7 @@ DEBUG_COUNTER(VisitCounter, "instcombine-visit",
|
|||
// FIXME: these limits eventually should be as low as 2.
|
||||
static constexpr unsigned InstCombineDefaultMaxIterations = 1000;
|
||||
#ifndef NDEBUG
|
||||
static constexpr unsigned InstCombineDefaultInfiniteLoopThreshold = 100;
|
||||
static constexpr unsigned InstCombineDefaultInfiniteLoopThreshold = 10;
|
||||
#else
|
||||
static constexpr unsigned InstCombineDefaultInfiniteLoopThreshold = 1000;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue