Fix typo in simplify_binary_operation_1

* simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment.

From-SVN: r252979
This commit is contained in:
Segher Boessenkool 2017-09-19 17:50:46 +02:00 committed by Segher Boessenkool
parent c4b06e7f1d
commit 9f0b8c7b4b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2017-09-17 Segher Boessenkool <segher@kernel.crashing.org>
* simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment.
2017-09-18 Martin Sebor <msebor@redhat.com>
PR c/81854

View file

@ -2665,7 +2665,7 @@ simplify_binary_operation_1 (enum rtx_code code, machine_mode mode,
HOST_WIDE_INT c1 = INTVAL (XEXP (op0, 1));
HOST_WIDE_INT c2 = INTVAL (trueop1);
/* If (C1&C2) == C1, then (X&C1)|C2 becomes X. */
/* If (C1&C2) == C1, then (X&C1)|C2 becomes C2. */
if ((c1 & c2) == c1
&& !side_effects_p (XEXP (op0, 0)))
return trueop1;