https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58195
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |25290 CC| |pinskia at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Mine, After PR 25290, the below match.pd pattern will just work :). (In reply to Marc Glisse from comment #3) > and something that could be auto-generated from a pattern like: > (cond (ne @0 0) (negate @0) 0) -> (negate @0) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 [Bug 25290] PHI-OPT could be rewritten so that is uses match