Re: [PATCH] add -fmove-loop-stores option to control GIMPLE loop store-motion

2021-07-06 Thread Martin Sebor via Gcc-patches
On 7/6/21 3:57 AM, Richard Biener wrote: On Mon, 5 Jul 2021, Richard Biener wrote: On Fri, 2 Jul 2021, Martin Sebor wrote: On 7/2/21 5:55 AM, Richard Biener wrote: This adds the -fmove-loop-stores option, mainly as a way to disable the store-motion part of GIMPLE invariant motion (-ftree-loo

Re: [PATCH] add -fmove-loop-stores option to control GIMPLE loop store-motion

2021-07-06 Thread Richard Biener
On Mon, 5 Jul 2021, Richard Biener wrote: > On Fri, 2 Jul 2021, Martin Sebor wrote: > > > On 7/2/21 5:55 AM, Richard Biener wrote: > > > This adds the -fmove-loop-stores option, mainly as a way to disable > > > the store-motion part of GIMPLE invariant motion (-ftree-loop-im) > > > which is enabl

Re: [PATCH] add -fmove-loop-stores option to control GIMPLE loop store-motion

2021-07-04 Thread Richard Biener
On Fri, 2 Jul 2021, Martin Sebor wrote: > On 7/2/21 5:55 AM, Richard Biener wrote: > > This adds the -fmove-loop-stores option, mainly as a way to disable > > the store-motion part of GIMPLE invariant motion (-ftree-loop-im) > > which is enabled by default. It might be sensible to turn off > > -f

Re: [PATCH] add -fmove-loop-stores option to control GIMPLE loop store-motion

2021-07-02 Thread Martin Sebor via Gcc-patches
On 7/2/21 5:55 AM, Richard Biener wrote: This adds the -fmove-loop-stores option, mainly as a way to disable the store-motion part of GIMPLE invariant motion (-ftree-loop-im) which is enabled by default. It might be sensible to turn off -fmove-loop-stores at -O1 since it can result in compile-ti