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
This commit is contained in:
parent
8d05ebaa24
commit
e5686da761
@ -1,3 +1,8 @@
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user