Re: [PATCH 2/2] Disable add_store_equivs when -fno-expensive-optimizations

2024-09-24 Thread Jeff Law
On 9/24/24 6:35 AM, Richard Biener wrote: IRAs add_store_equivs is quadratic in the size of the function worst case, disable it when -fno-expensive-optimizations which means at -O1 and -Og. Bootstrap and regtest running on x86_64-unknown-linux-gnu. OK? Thanks, Richard. * ira.cc (ir

[PATCH 2/2] Disable add_store_equivs when -fno-expensive-optimizations

2024-09-24 Thread Richard Biener
IRAs add_store_equivs is quadratic in the size of the function worst case, disable it when -fno-expensive-optimizations which means at -O1 and -Og. Bootstrap and regtest running on x86_64-unknown-linux-gnu. OK? Thanks, Richard. * ira.cc (ira): Gate add_store_equivs on flag_expensive_opt