JonPsson1 wrote: Tried patch/x2 (see table above), with adjustments for accesses (GV/Alloca) of 500 instead of 1000, which was similar in performance as with 1000, except that the big code increase in leela nearly all went away. https://github.com/llvm/llvm-project/pull/106058