postreload.c (try_replace_in_use): New static function.
authorBernd Schmidt <bernds@codesourcery.com>
Tue, 27 Jul 2010 15:20:14 +0000 (15:20 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 27 Jul 2010 15:20:14 +0000 (15:20 +0000)
commita78e242c07978510dd484adcba87f90dd4f0555e
tree84746048bc8fb1990194b86d153cea947400830d
parent61ff2bdc6c2bc3f08a5e45aeb57e48ec21604e0a
postreload.c (try_replace_in_use): New static function.

* postreload.c (try_replace_in_use): New static function.
(reload_combine_recognize_const_pattern): Use it here.  Allow
substituting into a final add insn, and substituting into a memory
reference in an insn that sets the reg.

From-SVN: r162573
gcc/ChangeLog
gcc/postreload.c