Hi,

On Wed, 13 Jul 2016, Richard Biener wrote:
> The following adds the ability to transform
> 
>  if (x != 0)
>    x = x / 10;
> 
> to
> 
>  x = x / 10;
> 
> as requested by PR.  Plus it adds some more ops where such transform
> is possible.

In the bugzilla, you said,

> Only for -Os, it's better to avoid the expensive division otherwise.

But the patch seems to apply the transform irrespective of -Os; is that
deliberate?  (fwiw I agree with your bugzilla comment above)

Thanks.
Alexander

Reply via email to