diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-30 16:15:14 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-30 16:15:14 +0000 |
commit | f8dc2d8c8b0d2c320fc85bd73f3ae96552dafbfd (patch) | |
tree | 664886b45d17ffb32fde2ac3cc9cf3139000f050 | |
parent | 1196d7cd7f13642920584631cd7fcad704d3e3d6 (diff) | |
download | bcm5719-llvm-f8dc2d8c8b0d2c320fc85bd73f3ae96552dafbfd.tar.gz bcm5719-llvm-f8dc2d8c8b0d2c320fc85bd73f3ae96552dafbfd.zip |
[Inliner] Fix a comment to match the code. NFC.
TotalAltCost => TotalSecondaryCost
Differential Revision: https://reviews.llvm.org/D29231
llvm-svn: 293490
-rw-r--r-- | llvm/lib/Transforms/IPO/Inliner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp index 767a2076de6..6020df6cf40 100644 --- a/llvm/lib/Transforms/IPO/Inliner.cpp +++ b/llvm/lib/Transforms/IPO/Inliner.cpp @@ -261,8 +261,8 @@ static bool InlineCallIfPossible( /// 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, |