[auto-inc-dec.c] Account for cost of move operation in FORM_PRE_ADD and FORM_POST_ADD...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 26 Oct 2015 11:51:47 +0000 (11:51 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 26 Oct 2015 11:51:47 +0000 (11:51 +0000)
commit477ee35f51115282b8eb56c0077e197f282b765e
treee702335a62f4be984b0bf9854ee92d56ae1c5767
parenta2667f14a89bc5492f51ff0ee794ee75d8068f43
[auto-inc-dec.c] Account for cost of move operation in FORM_PRE_ADD and FORM_POST_ADD cases

* auto-inc-dec.c (insert_move_insn_before): Delete.
(attempt_change): Remember to cost the simple move in the
FORM_PRE_ADD and FORM_POST_ADD cases.

From-SVN: r229344
gcc/ChangeLog
gcc/auto-inc-dec.c