[PATCH] D29169: Do not apply redundant LastCallToStaticBonus

Taewook Oh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 14:38:41 PST 2017


twoh added inline comments.


================
Comment at: lib/Transforms/IPO/Inliner.cpp:329
   // is only one caller of Caller.
+  //if (callerWillBeRemoved && !Caller->hasOneUse())
   if (callerWillBeRemoved && !Caller->use_empty())
----------------
haicheng wrote:
> Did you upload the wrong patch?
Oops, my bad. I forgot to revert it back after the evaluation. Will update it shortly. Thanks!


https://reviews.llvm.org/D29169





More information about the llvm-commits mailing list