Re: [PATCH] doc: document -ftree-scev-cprop

2018-08-29 Thread Richard Biener
On Tue, Aug 28, 2018 at 4:22 PM Alexander Monakov wrote: > > Hi, > > PR 86726 is pointing out that -ftree-scev-cprop is not documented. > > Here's documentation for the final-value-replacement aspect of the > option. It technically can also replace in-loop references by > constants, but that

Re: [PATCH] doc: document -ftree-scev-cprop

2018-08-28 Thread Richard Sandiford
Alexander Monakov writes: > @@ -9120,6 +9121,15 @@ determining number of iterations requires complicated > analysis. Later > optimizations then may determine the number easily. Useful especially > in connection with unrolling. > > +@item -ftree-scev-cprop > +@opindex ftree-scev-cprop >

[PATCH] doc: document -ftree-scev-cprop

2018-08-28 Thread Alexander Monakov
Hi, PR 86726 is pointing out that -ftree-scev-cprop is not documented. Here's documentation for the final-value-replacement aspect of the option. It technically can also replace in-loop references by constants, but that doesn't seem very useful. I'm not aware of any required order for option