[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:
Roman Lebedev 2020-08-19 14:36:47 +03:00
parent c1b1868f35
commit 71e0b82c9f
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0
1 changed files with 1 additions and 1 deletions

View File

@ -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