Re: [PATCH] MATCH: [PR109424] Simplify min/max of boolean arguments

2023-05-15 Thread Jeff Law via Gcc-patches
On 5/15/23 19:36, Andrew Pinski via Gcc-patches wrote: This is version 2 of https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577394.html which does not depend on adding gimple_truth_valued_p at this point. Instead will use zero_one_valued_p which is already used for mult simplifications

[PATCH] MATCH: [PR109424] Simplify min/max of boolean arguments

2023-05-15 Thread Andrew Pinski via Gcc-patches
This is version 2 of https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577394.html which does not depend on adding gimple_truth_valued_p at this point. Instead will use zero_one_valued_p which is already used for mult simplifications to make sure that we only have [0,1] rather having the mist