[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Wed Jun 9 07:14:20 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290
--- Comment #23 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 8 Jun 2021, pinskia at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290
>
> --- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> * minmax_replacement: has some handling of comparisions which might not be in
> the match.pd patterns already. needs PROP_gimple_lswitch also.
Yeah, this is also fold-const.c COND_EXPR simplifications using
fold_cond_expr_with_comparison (to ABS/MIN/MAX) which are not yet
moved to match.pd and are one reason why fold_gimple_assign still
dispatches to fold_ternary_loc ... (it shouldn't).
More information about the Gcc-bugs
mailing list