Re: [PATCH] PR tree-optimization/105458 - Check for equivalence after merging relations.

2022-05-17 Thread Richard Biener via Gcc-patches
On Tue, May 17, 2022 at 5:46 PM Andrew MacLeod via Gcc-patches wrote: > > Sorry, missed this one earlier. > > When we register a relation, such as LE_EXPR, we first check if there > is an existing relation that applies, and if so they are combined. We > were checking if the relation being registe

[PATCH] PR tree-optimization/105458 - Check for equivalence after merging relations.

2022-05-17 Thread Andrew MacLeod via Gcc-patches
Sorry, missed this one earlier. When we register a relation, such as LE_EXPR,  we first check if there is an existing relation that applies, and if so they are combined. We were checking if the relation being registered was an EQ_EXPR, and if so, invoked the equivalence oracle.  I was doing