cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when making a substitution.
authorRoger Sayle <roger@eyesopen.com>
Fri, 30 May 2003 17:49:44 +0000 (17:49 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 30 May 2003 17:49:44 +0000 (17:49 +0000)
commit0c19a26f771e80f9f5b5700661d72bb8619d6cb6
tree82a94f53b3de8865038ee21fdc4560d6ed2c908f
parent9a38893aa75ebb4447f960f3e5a865e7f580e2cc
cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when making a substitution.

* cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when
making a substitution.
(dead_libcall_p): If directly replacing a libcall with a
constant value produces an invalid instruction, also try forcing
the constant into the constant pool.
* expr.c (emit_move_insn): Add a REG_EQUAL note when it is not
obvious that the source is a constant.
(compress_float_constant): Use set_unique_reg_note to place
REG_EQUAL notes on instructions.

From-SVN: r67247
gcc/ChangeLog
gcc/cse.c
gcc/expr.c