Changes for v2: Originally sent as a singular patch, but I've split
it into three different ones.

Tested with CoreMark PRO on RISC-V P8700 CPU (~1.2% improvement),
and on x86-64 Intel Core i7-12700H CPU (~0.4% improvement).

Regards,
Jovan

Jovan Dmitrović (3):
  ivopts: Set register pressure cost to zero if there are enough
    registers.
  ivopts: Adjust reg pressure estimate for spilling induction variables.
  ivopts: Remove bias from calculating reg pressure cost.

 gcc/tree-ssa-loop-ivopts.cc | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

-- 
2.34.1

Reply via email to