PR ipa/65076
* ipa-inline.c (edge_badness): Base denominator on callee's
grwoth squared.
From-SVN: r221769
+2015-03-27 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/65076
+ * ipa-inline.c (edge_badness): Base denominator on callee's
+ grwoth squared.
+
2015-03-27 Martin Jambor <mjambor@suse.cz>
PR ipa/65478
numerator = numerator >> 11;
denominator = growth;
if (callee_info->growth > 0)
- denominator *= callee_info->growth;
+ denominator *= callee_info->growth * callee_info->growth;
badness = - numerator / denominator;