Commit 2efc1455 by Bernd Schmidt

Fix missed comment fix in last change.

From-SVN: r232690
parent 9776e692
...@@ -2277,9 +2277,9 @@ simplify_binary_operation_1 (enum rtx_code code, machine_mode mode, ...@@ -2277,9 +2277,9 @@ simplify_binary_operation_1 (enum rtx_code code, machine_mode mode,
if (!HONOR_SIGNED_ZEROS (mode) && trueop0 == CONST0_RTX (mode)) if (!HONOR_SIGNED_ZEROS (mode) && trueop0 == CONST0_RTX (mode))
return simplify_gen_unary (NEG, mode, op1, mode); return simplify_gen_unary (NEG, mode, op1, mode);
/* (-1 - a) is ~a, unless the expression avoids symbolic constants, /* (-1 - a) is ~a, unless the expression contains symbolic
in which case not retaining additions and subtractions could constants, in which case not retaining additions and
cause invalid assembly to be produced. */ subtractions could cause invalid assembly to be produced. */
if (trueop0 == constm1_rtx if (trueop0 == constm1_rtx
&& !contains_symbolic_reference_p (op1)) && !contains_symbolic_reference_p (op1))
return simplify_gen_unary (NOT, mode, op1, mode); return simplify_gen_unary (NOT, mode, op1, mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment