Commit e5686da7 by Kazu Hirata Committed by Kazu Hirata

combine.c (simplify_comparison): Don't share rtx when converting (ne (and (not…

combine.c (simplify_comparison): Don't share rtx when converting (ne (and (not X) 1) 0) to (eq (and X 1) 0).

	* combine.c (simplify_comparison): Don't share rtx when converting
	(ne (and (not X) 1) 0) to (eq (and X 1) 0).

From-SVN: r69571
parent 8d05ebaa
2003-07-18 Kazu Hirata <kazu@cs.umass.edu>
* combine.c (simplify_comparison): Don't share rtx when converting
(ne (and (not X) 1) 0) to (eq (and X 1) 0).
2003-07-18 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
......
......@@ -11072,7 +11072,7 @@ simplify_comparison (enum rtx_code code, rtx *pop0, rtx *pop1)
&& GET_CODE (XEXP (op0, 0)) == NOT)
{
op0 = simplify_and_const_int
(op0, mode, XEXP (XEXP (op0, 0), 0), (HOST_WIDE_INT) 1);
(NULL_RTX, mode, XEXP (XEXP (op0, 0), 0), (HOST_WIDE_INT) 1);
code = (code == NE ? EQ : NE);
continue;
}
......
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