Re: [PATCH] tree-optimization/103037 - PRE simplifying valueized expressions

2022-02-25 Thread Richard Biener via Gcc-patches
On Fri, 25 Feb 2022, Richard Biener wrote: > This fixes a long-standing issue in PRE where we track valueized > expressions in our expression sets that we use for PHI translation, > code insertion but also feed into match-and-simplify via > vn_nary_simplify. But that's not what is expected from v

[PATCH] tree-optimization/103037 - PRE simplifying valueized expressions

2022-02-25 Thread Richard Biener via Gcc-patches
This fixes a long-standing issue in PRE where we track valueized expressions in our expression sets that we use for PHI translation, code insertion but also feed into match-and-simplify via vn_nary_simplify. But that's not what is expected from vn_nary_simplify or match-and-simplify which assume w