ipa-inline-transform.c (inline_call): Account when program size decreases.
authorJan Hubicka <jh@suse.cz>
Sat, 7 May 2011 20:31:37 +0000 (22:31 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 7 May 2011 20:31:37 +0000 (20:31 +0000)
commitb4c0a88402b1615070601460dcbccb65fd7d3a18
tree8a6c02190f64c6038307b9786aa310fc51131c1f
parentf620bd21a10243179ad6e33d08d78a8148c48129
ipa-inline-transform.c (inline_call): Account when program size decreases.

* ipa-inline-transform.c (inline_call): Account when program size decreases.
* ipa-inline.c (relative_time_benefit): New function.
(edge_badness): Reorganize to be power 2 based; fix
thinko when computing badness for negative growth; update
comments to match reality; better dumps.

From-SVN: r173537
gcc/ChangeLog
gcc/ipa-inline-transform.c
gcc/ipa-inline.c