https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115275

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This should work:
(for cmp (eq ne)
 (simplify
  (cmp (max @0 @1) integer_zerop@2)
  (if (TYPE_UNSIGNED (TREE_TYPE (@0))
   (cmp (bit_ior @0 @1) @2)))

Reply via email to