On 05/26/2016 07:02 AM, Alan Modra wrote:
This fixes lack of bb_loop_depth info in some of the early parts of
ira, which has been the case for quite some time. All active branches
return 0 from bb_loop_depth() in update_equiv_regs, but whether that
actually causes mis-optimization anywhere but trunk is yet to be
determined.
I played a little with trying to consolidate this loop_optimizer_init
call with one that occurs a little later, but ran into ICEs. (We now
have four calls to loop_optimizer_init in ira.c.)
Bootstrapped and regression tested powerpc64le-linux and x86_64-linux.
OK to apply?
Yes. Thank you, Alan.