Skip to content

Commit e28e362

Browse files
committed
TESTING ONLY: enable JitOptRepeat always, 4 repeats
1 parent 566edb7 commit e28e362

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/coreclr/jit/compiler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2955,6 +2955,9 @@ void Compiler::compInitOptions(JitFlags* jitFlags)
29552955
}
29562956

29572957
opts.dspMetrics = (JitConfig.JitMetrics() != 0);
2958+
2959+
////////////////// TESTING
2960+
opts.optRepeat = true;
29582961
}
29592962

29602963
if (verboseDump)

src/coreclr/jit/jitconfigvalues.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ CONFIG_INTEGER(JitDoSsa, W("JitDoSsa"), 1) // Perform Static Single Assignment (
501501
CONFIG_INTEGER(JitDoValueNumber, W("JitDoValueNumber"), 1) // Perform value numbering on method expressions
502502

503503
CONFIG_METHODSET(JitOptRepeat, W("JitOptRepeat")) // Runs optimizer multiple times on the method
504-
CONFIG_INTEGER(JitOptRepeatCount, W("JitOptRepeatCount"), 2) // Number of times to repeat opts when repeating
504+
CONFIG_INTEGER(JitOptRepeatCount, W("JitOptRepeatCount"), 4) // Number of times to repeat opts when repeating
505505
CONFIG_INTEGER(JitDoIfConversion, W("JitDoIfConversion"), 1) // Perform If conversion
506506
#endif // defined(OPT_CONFIG)
507507

0 commit comments

Comments
 (0)