Commit 2376c58f by Roger Sayle Committed by Roger Sayle

simplify-rtx.c (simplify_relational_operation_1): Correct typo.


	* simplify-rtx.c (simplify_relational_operation_1): Correct typo.


Co-Authored-By: Matt Thomas <matt@3am-software.com>

From-SVN: r121839
parent 69fce32f
2007-02-11 Roger Sayle <roger@eyesopen.com> 2007-02-11 Roger Sayle <roger@eyesopen.com>
Matt Thomas <matt@3am-software.com>
* simplify-rtx.c (simplify_relational_operation_1): Correct typo.
2007-02-11 Roger Sayle <roger@eyesopen.com>
* simplify-rtx.c (simplify_relational_operation_1): Optimize * simplify-rtx.c (simplify_relational_operation_1): Optimize
comparisons of POPCOUNT against zero. comparisons of POPCOUNT against zero.
......
...@@ -3816,7 +3816,7 @@ simplify_relational_operation_1 (enum rtx_code code, enum machine_mode mode, ...@@ -3816,7 +3816,7 @@ simplify_relational_operation_1 (enum rtx_code code, enum machine_mode mode,
case GT: case GT:
case GTU: case GTU:
/* (ne (popcount x) (const_int 0)) -> (ne x (const_int 0)). */ /* (ne (popcount x) (const_int 0)) -> (ne x (const_int 0)). */
return simplify_gen_relational (EQ, mode, GET_MODE (XEXP (op0, 0)), return simplify_gen_relational (NE, mode, GET_MODE (XEXP (op0, 0)),
XEXP (op0, 0), const0_rtx); XEXP (op0, 0), const0_rtx);
default: default:
......
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