[llvm] 6175951 - [Analysis] Update getPromotionCandidatesForInstruction description (NFC) (#107277)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 11:08:08 PDT 2024


Author: Teresa Johnson
Date: 2024-09-04T11:08:05-07:00
New Revision: 61759513c8166a6420ded480802de72859a45499

URL: https://github.com/llvm/llvm-project/commit/61759513c8166a6420ded480802de72859a45499
DIFF: https://github.com/llvm/llvm-project/commit/61759513c8166a6420ded480802de72859a45499.diff

LOG: [Analysis] Update getPromotionCandidatesForInstruction description (NFC) (#107277)

Updates the description for getPromotionCandidatesForInstruction to
reflect the cleanup done in #95624.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h

Removed: 
    


################################################################################
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


        


More information about the llvm-commits mailing list