[PATCH] D29231: [Inliner] Fix a comment to match the code. NFC.
Haicheng Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 08:26:32 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293490: [Inliner] Fix a comment to match the code. NFC. (authored by haicheng).
Changed prior to commit:
https://reviews.llvm.org/D29231?vs=86110&id=86291#toc
Repository:
rL LLVM
https://reviews.llvm.org/D29231
Files:
llvm/trunk/lib/Transforms/IPO/Inliner.cpp
Index: llvm/trunk/lib/Transforms/IPO/Inliner.cpp
===================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp
@@ -261,8 +261,8 @@
/// Return true if inlining of CS can block the caller from being
/// inlined which is proved to be more beneficial. \p IC is the
/// estimated inline cost associated with callsite \p CS.
-/// \p TotalAltCost will be set to the estimated cost of inlining the caller
-/// if \p CS is suppressed for inlining.
+/// \p TotalSecondaryCost will be set to the estimated cost of inlining the
+/// caller if \p CS is suppressed for inlining.
static bool
shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC,
int &TotalSecondaryCost,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29231.86291.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170130/60e6336b/attachment.bin>
More information about the llvm-commits
mailing list