[PATCH] D23222: Changed sign of LastCallToStaticBouns

Piotr Padlewski via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 13:51:28 PDT 2016


Prazek marked an inline comment as done.

================
Comment at: lib/Analysis/InlineCost.cpp:1261
@@ -1260,3 +1260,3 @@
   if (OnlyOneCallAndLocalLinkage)
-    Cost += InlineConstants::LastCallToStaticBonus;
+    Cost -= InlineConstants::LastCallToStaticBonus;
 
----------------
Thanks, I grepped only this file, and llvm tests also passed...


https://reviews.llvm.org/D23222





More information about the llvm-commits mailing list