https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105075

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 28 Mar 2022, vries at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105075
> 
> --- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
> Created attachment 52698
>   --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52698&action=edit
> Demonstrator patch with stepping stone patterns for combine
> 
> (In reply to Tom de Vries from comment #2)
> > Also, I wonder if defining a stepping-stone intermediate pattern could help
> > combine.
> 
> Well, that approach seems to work.

Another possibility is to do this on GIMPLE where we detect widen 
multiplication and friends 
(tree-ssa-math-opts.cc:pass_optimize_widening_mul).

Reply via email to