This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GOOGLE] disable slp for AutoFDO
- From: Xinliang David Li <davidxl at google dot com>
- To: Dehao Chen <dehao at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 18 Sep 2013 10:43:38 -0700
- Subject: Re: [GOOGLE] disable slp for AutoFDO
- Authentication-results: sourceware.org; auth=none
- References: <CAO2gOZX6f7veqHZBsZAZxR2TvO-e7tU9NpaXS3pSsVnE5mX47g at mail dot gmail dot com>
Ok.
David
On Wed, Sep 18, 2013 at 10:21 AM, Dehao Chen <dehao@google.com> wrote:
> This patch disables SLP for AutoFDO.
>
> Bootstrapped and passed unittests.
>
> OK for google-4_8?
>
> Thanks,
> Dehao
>
> Index: gcc/opts.c
> ===================================================================
> --- gcc/opts.c (revision 202709)
> +++ gcc/opts.c (working copy)
> @@ -1661,9 +1661,6 @@ common_handle_option (struct gcc_options *opts,
> if (!opts_set->x_flag_tree_loop_vectorize
> && !opts_set->x_flag_tree_vectorize)
> opts->x_flag_tree_loop_vectorize = value;
> - if (!opts_set->x_flag_tree_slp_vectorize
> - && !opts_set->x_flag_tree_vectorize)
> - opts->x_flag_tree_slp_vectorize = value;
> if (!opts_set->x_flag_vect_cost_model)
> opts->x_flag_vect_cost_model = value;
> if (!opts_set->x_flag_tree_loop_distribute_patterns)