[PATCH] Update documentation for -ftree-loop-vectorize and -ftree-slp-vectorize which are enabled by default at -02.

Richard Biener richard.guenther@gmail.com
Fri Nov 5 10:02:37 GMT 2021


On Fri, Nov 5, 2021 at 8:08 AM liuhongt via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Bootstrappend on x86_64-pc-linux-gnu{-m32,}
> Ok for trunk?

OK

> gcc/ChangeLog:
>
>         PR tree-optimization/103077
>         * doc/invoke.texi (Options That Control Optimization):
>         Update documentation for -ftree-loop-vectorize and
>         -ftree-slp-vectorize which are enabled by default at -02.
> ---
>  gcc/doc/invoke.texi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index c5730228821..22d17090641 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -11958,13 +11958,13 @@ and @option{-ftree-slp-vectorize} if not explicitly specified.
>  @item -ftree-loop-vectorize
>  @opindex ftree-loop-vectorize
>  Perform loop vectorization on trees. This flag is enabled by default at
> -@option{-O3} and by @option{-ftree-vectorize}, @option{-fprofile-use},
> +@option{-O2} and by @option{-ftree-vectorize}, @option{-fprofile-use},
>  and @option{-fauto-profile}.
>
>  @item -ftree-slp-vectorize
>  @opindex ftree-slp-vectorize
>  Perform basic block vectorization on trees. This flag is enabled by default at
> -@option{-O3} and by @option{-ftree-vectorize}, @option{-fprofile-use},
> +@option{-O2} and by @option{-ftree-vectorize}, @option{-fprofile-use},
>  and @option{-fauto-profile}.
>
>  @item -ftrivial-auto-var-init=@var{choice}
> --
> 2.18.1
>


More information about the Gcc-patches mailing list