Skip to content

Commit a4c574e

Browse files
authored
Update fgopt.cpp
1 parent 313c96a commit a4c574e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/coreclr/jit/fgopt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5149,10 +5149,10 @@ PhaseStatus Compiler::fgHeadTailMerge(bool early)
51495149
// This cap only applies to common-successor tail merging. The terminal
51505150
// block (return/throw) merging below subsumes the old fgTailMergeThrows
51515151
// phase and routinely sees throw-heavy methods that exceed the per-block
5152-
// cap, so it uses a larger limit. 3x was empirically the smallest
5152+
// cap, so it uses a larger limit. 4x was empirically the smallest
51535153
// multiple that avoids code-size regressions (measured via SPMI asmdiffs).
51545154
//
5155-
const int effectiveLimit = (commSucc != nullptr) ? mergeLimit : (3 * mergeLimit);
5155+
const int effectiveLimit = (commSucc != nullptr) ? mergeLimit : (4 * mergeLimit);
51565156
if (predInfo.Height() > effectiveLimit)
51575157
{
51585158
// Too many preds to consider

0 commit comments

Comments
 (0)