Commit 1ff136fd by Richard Henderson Committed by Richard Henderson

* cse.c (cse_insn): Never prefer (const (constant_p_rtx)).

From-SVN: r24637
parent fb857ec1
Tue Jan 12 02:53:46 1999 Richard Henderson <rth@cygnus.com>
* cse.c (cse_insn): Never prefer (const (constant_p_rtx)).
Tue Jan 12 02:36:10 PST 1999 Jeff Law (law@cygnus.com) Tue Jan 12 02:36:10 PST 1999 Jeff Law (law@cygnus.com)
* version.c: Bump for snapshot. * version.c: Bump for snapshot.
......
...@@ -6865,6 +6865,12 @@ cse_insn (insn, libcall_insn) ...@@ -6865,6 +6865,12 @@ cse_insn (insn, libcall_insn)
if (src == src_folded) if (src == src_folded)
src_folded = 0; src_folded = 0;
/* Folds of constant_p_rtx are to be preferred, since we do
not wish any to live past CSE. */
if (src && GET_CODE (src) == CONST
&& GET_CODE (XEXP (src, 0)) == CONSTANT_P_RTX)
src = 0;
/* At this point, ELT, if non-zero, points to a class of expressions /* At this point, ELT, if non-zero, points to a class of expressions
equivalent to the source of this SET and SRC, SRC_EQV, SRC_FOLDED, equivalent to the source of this SET and SRC, SRC_EQV, SRC_FOLDED,
and SRC_RELATED, if non-zero, each contain additional equivalent and SRC_RELATED, if non-zero, each contain additional equivalent
......
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