Skip LMR adjustments at depth 1 in non-PV nodes
At depth 1 in non-PV nodes, the reduction computed in Step 18 is never used.
The reduced LMR search needs depth >= 2. The full-depth search in Step 19 is
called with newDepth - (r > ...), and newDepth <= 0 here, so it always goes
to qsearch whatever r is. ss->statScore is read only by a child that runs
search(), and here the child is always a qsearch node. So skip the
computation in that case.
Passed STC:
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 185600 W: 47360 L: 46877 D: 91363
Ptnml(0-2): 170, 18974, 54042, 19431, 183
https://tests.stockfishchess.org/tests/view/6b071a749f65cf9079e25bcd
The test ran on 3e8fde75. Rebased on the current master, bench is unchanged.
closes https://github.com/official-stockfish/Stockfish/pull/7376
No functional change