On 10/13/2021 4:02 AM, Martin Liška wrote:
works and that it is not somehow dependent on ordering? Otherwise we
have to
use EnabledBy(funroll-loops,funroll-all-loops) on frename-registers.
I guess the
EnabledBy doesn't work if the target decides to set flag_unroll_loop
in one of
its hooks rather than via its option table override? (as said, this
is all a mess...)
It's a complete mess. The only override happens in
rs6000_override_options_after_change. I think it can also utilize
EnabledBy, but
I would like to do it in a different patch.
So what's the preferred way to handle this? We're in the process of
evaluating -frename-registers on our target right now and subject to
verification of a couple issues, our inclination is to turn it on for
our target at -O2.
Jeff