Just a small coment fix, the `(` was in the wrong location,
making it look it was transforming into `(X - X) != 0`
rather than `X - (X != 0)`.
Pushed as obvious after a quick build for x86_64-linux-gnu.
gcc/ChangeLog:
* match.pd (X != 0 ? X + ~0 : 0): Fix comment.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
/* The boundary condition for case 10: IMM = 1:
SAT_U_SUB = X >= IMM ? (X - IMM) : 0.
- simplify (X != 0 ? X + ~0 : 0) to (X - X != 0). */
+ simplify (X != 0 ? X + ~0 : 0) to X - (X != 0). */
(simplify
(cond (ne@1 @0 integer_zerop)
(nop_convert1? (plus (nop_convert2?@2 @0) integer_all_onesp))