[llvm] 476b912 - SampleProfile.cpp - fix Wdocumentation warning. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 03:31:30 PST 2021


Author: Simon Pilgrim
Date: 2021-02-05T11:31:17Z
New Revision: 476b912e7c950f7af7a85a17a9db9b7262dcf212

URL: https://github.com/llvm/llvm-project/commit/476b912e7c950f7af7a85a17a9db9b7262dcf212
DIFF: https://github.com/llvm/llvm-project/commit/476b912e7c950f7af7a85a17a9db9b7262dcf212.diff

LOG: SampleProfile.cpp - fix Wdocumentation warning. NFCI.

Remove duplicate param

Added: 
    

Modified: 
    llvm/lib/Transforms/IPO/SampleProfile.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/IPO/SampleProfile.cpp b/llvm/lib/Transforms/IPO/SampleProfile.cpp
index f20c34be8b19..03e6efde7430 100644
--- a/llvm/lib/Transforms/IPO/SampleProfile.cpp
+++ b/llvm/lib/Transforms/IPO/SampleProfile.cpp
@@ -1093,7 +1093,6 @@ SampleProfileLoader::findFunctionSamples(const Instruction &Inst) const {
 /// \param Candidate  ICP and inline candidate.
 /// \param Sum  Sum of target counts for indirect call.
 /// \param PromotedInsns  Map to keep track of indirect call already processed.
-/// \param Candidate  ICP and inline candidate.
 /// \param InlinedCallSite  Output vector for new call sites exposed after
 /// inlining.
 bool SampleProfileLoader::tryPromoteAndInlineCandidate(


        


More information about the llvm-commits mailing list