[PATCH] D29169: Do not apply redundant LastCallToStaticBonus
Haicheng Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 14:35:49 PST 2017
haicheng 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())
----------------
Did you upload the wrong patch?
https://reviews.llvm.org/D29169
More information about the llvm-commits
mailing list