Re: [PATCH Take 2] More NEGATE_EXPR folding in match.pd

2021-09-22 Thread Richard Biener via Gcc-patches
On Fri, Sep 10, 2021 at 11:22 AM Roger Sayle wrote: > > > Hi Richard, > Thanks for suggestion, which cleanly solves the problem I was encountering. > This revised patch adds a Boolean simplify argument to tree-ssa-sccvn.c's > vn_nary_build_or_lookup_1 to control whether to simplification should be

[PATCH Take 2] More NEGATE_EXPR folding in match.pd

2021-09-10 Thread Roger Sayle
Hi Richard, Thanks for suggestion, which cleanly solves the problem I was encountering. This revised patch adds a Boolean simplify argument to tree-ssa-sccvn.c's vn_nary_build_or_lookup_1 to control whether to simplification should be performed before value numbering, updating the callers, but the