[llvm] [Analysis] Update getPromotionCandidatesForInstruction description (NFC) (PR #107277)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 10:58:53 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-analysis
Author: Teresa Johnson (teresajohnson)
<details>
<summary>Changes</summary>
Updates the description for getPromotionCandidatesForInstruction to
reflect the cleanup done in #<!-- -->95624.
---
Full diff: https://github.com/llvm/llvm-project/pull/107277.diff
1 Files Affected:
- (modified) llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h (+2-3)
``````````diff
diff --git a/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h b/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
index b9cf048a710435..b6bdfb1275c927 100644
--- a/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
+++ b/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
@@ -49,9 +49,8 @@ class ICallPromotionAnalysis {
/// Returns reference to array of InstrProfValueData for the given
/// instruction \p I.
///
- /// The \p NumVals, \p TotalCount and \p NumCandidates
- /// are set to the number of values in the array, the total profile count
- /// of the indirect call \p I, and the number of profitable candidates
+ /// The \p TotalCount and \p NumCandidates are set to the the total profile
+ /// count of the indirect call \p I and the number of profitable candidates
/// in the given array (which is sorted in reverse order of profitability).
///
/// The returned array space is owned by this class, and overwritten on
``````````
</details>
https://github.com/llvm/llvm-project/pull/107277
More information about the llvm-commits
mailing list