Avoid redundant computations in edge_badness.
authorJan Hubicka <jh@suse.cz>
Tue, 19 Nov 2019 18:56:26 +0000 (19:56 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 19 Nov 2019 18:56:26 +0000 (18:56 +0000)
commitea8dd3b6cea2a4d4dab7e2997b88a170f8093ce6
tree5067144beb28608066ee17d63498e10647744fdb
parent4aa5fd8aca1140adf0917dc53397efddc7fd4c11
Avoid redundant computations in edge_badness.

        * ipa-inline.c (inlining_speedup): New function.
(edge_badness): Use it.

From-SVN: r278459
gcc/ChangeLog
gcc/ipa-inline.c