https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51781
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Mine.
Psedu-match.pd code (needs expansion of some stuff but the general idea is
there)
(for (cmp ne eq)
(cmp (convert @0) (bit_and @1 INTEGER_CST@2)
(if (TYPE_UNSIGNED(@0) && @2 == maskforprecissionoftype(@0))
(cmp @0 (convert:TYPE(@0) @1))