https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126043
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-06-30
CC| |ktkachov at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from ktkachov at gcc dot gnu.org ---
Allowing -(cast)CMP works well.
Adding (cast)CMP unconditionally regresses some tree-ssa.exp tests:
ssa-ifcombine-ccmp-6, fold-xor-and-or, fold-xor-or, if-to-switch-9, pr20701,
pr21090, vrp33, vrp102, pr68198.
We can avoid those though if we do this only when every use of the PHI result
is an equality or inequality test against an integer constant