Re: [PATCH] PR tree-optimization/71343: Value number X<<2 as X*4.

2022-09-14 Thread Richard Biener via Gcc-patches
On Tue, Sep 13, 2022 at 7:55 PM Roger Sayle wrote: > > > This patch is the second part of a fix for PR tree-optimization/71343, > that implements Richard Biener's suggestion of using tree-ssa's value > numbering instead of match.pd. The change is that when assigning a > value number for the expre

[PATCH] PR tree-optimization/71343: Value number X<<2 as X*4.

2022-09-13 Thread Roger Sayle
This patch is the second part of a fix for PR tree-optimization/71343, that implements Richard Biener's suggestion of using tree-ssa's value numbering instead of match.pd. The change is that when assigning a value number for the expression X< gcc/ChangeLog PR tree-optimization/71343