https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64450
Andrew Pinski changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64450
--- Comment #3 from Andrew Pinski ---
(for cmp (tcc_comparison)
(simplify
(cmp (pointer_diff @0 @1) integer_zero_p)
(cmp @0 @1)))
Maybe
But we might also need handle the match patterns for too:
A CMP B ? A - B : -(A - B)
A CMP B ? A -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64450
--- Comment #2 from Andrew Pinski ---
(In reply to Marc Glisse from comment #1)
> See also PR61734, Eric already tried in May.
Maybe it is easier to handle now with simplify-and-match.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64450
--- Comment #1 from Marc Glisse ---
See also PR61734, Eric already tried in May.