On 05/13/2011 10:52 AM, William J. Schmidt wrote:
> This patch addresses PR46728, which notes that pow and powi need to be
> lowered in tree phases to restore lost FMA opportunities and expose
> vectorization opportunities.
>
> +struct gimple_opt_pass pass_lower_pow =
> +{
> + {
> +  GIMPLE_PASS,
> +  "lower_pow",                               /* name */
> +  NULL,                                      /* gate */

Please make this controlled by an option; this pass doesn't need to be run all
the time.

IMHO, the pass shouldn't run at anything less than -O3, but that's for other
people to decide.

-Nathan

Reply via email to