[Bug tree-optimization/110155] Missing if conversion
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 7 12:29:38 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110155
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org
Keywords| |missed-optimization
Last reconfirmed| |2023-06-07
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(simplify
(cond (ne onezerovaluep@1 integer_zerop)
(plus @2 integer_onep) @2)
(plus @2 @1)
)
Plus could be ior or xor. That is there is a pattern already which be extended
to plus.
More information about the Gcc-bugs
mailing list