This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Alexander Monakov <amonakov@ispras.ru> 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
> +Perform final value replacement.  If a variable is modified in a loop
> +in a way that its value when exiting the loop can be determined using

"in such a way"

> +only its initial value and number of loop iterations, replace uses of

"and the number"

> +the final value by such computation, provided it is sufficiently cheap.

"by such a computation".

OK otherwise, thanks.

Richard

> +This reduces data dependencies and may allow further simplifications.
> +Enabled by default at @option{-O} and higher.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]