cse.c: (find_best_addr): Don't call copy_rtx before calling fold_rtx.
authorArend Bayer <arend.bayer@web.de>
Thu, 27 Jan 2005 23:00:19 +0000 (23:00 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 27 Jan 2005 23:00:19 +0000 (23:00 +0000)
commit6c6678595b48c2a69d6711eb84b2f1214f69d5bf
tree7ab36bd9a65425cdb4d1699512a34481c62f2e34
parent88af764e45e01bcd4aedaddc769cbc579b523f77
cse.c: (find_best_addr): Don't call copy_rtx before calling fold_rtx.

* cse.c: (find_best_addr): Don't call copy_rtx before calling
fold_rtx.  Save cost recomputation if fold_rtx did nothing.
(fold_rtx) <ASM_OPERANDS>: Don't do anything if INSN is
NULL_RTX.

Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu>
From-SVN: r94345
gcc/ChangeLog
gcc/cse.c