summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-03-21 22:13:44 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-03-21 22:13:44 +0000
commit20be876a644c269e2047b0cf41fee7468d451676 (patch)
tree6a529b10e15e0b707fb0315b6ab2287b8a5540c7 /llvm/lib
parentaccf390a757c8cd230127fc4896c254bdeb7604b (diff)
downloadbcm5719-llvm-20be876a644c269e2047b0cf41fee7468d451676.tar.gz
bcm5719-llvm-20be876a644c269e2047b0cf41fee7468d451676.zip
Fix -Wdocumentation warnings from r263853
Thanks to chapuni for catching this. llvm-svn: 263993
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp b/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
index 96e1e878dcf..f51660223ba 100644
--- a/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
+++ b/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
@@ -143,7 +143,8 @@ private:
/// If true, the given use is added to the list of dominated uses for
/// the related existing point.
/// \param NewPt the insertion point to be checked
- /// \param Use the use to be added into the list of dominated uses
+ /// \param User the user of the constant
+ /// \param OpNo the operand number of the use
/// \param InsertPts existing insertion points
/// \pre NewPt and all instruction in InsertPts belong to the same function
/// \return true if one of the insertion point in InsertPts dominates NewPt,
@@ -156,7 +157,8 @@ private:
/// If true, the given use is added to the list of the created insertion
/// point.
/// \param NewPt the insertion point to be checked
- /// \param Use the use to be added into the list of dominated uses
+ /// \param User the user of the constant
+ /// \param OpNo the operand number of the use
/// \param InsertPts existing insertion points
/// \pre NewPt and all instruction in InsertPts belong to the same function
/// \pre isDominated returns false for the exact same parameters.
@@ -170,8 +172,9 @@ private:
/// uses of value.
/// Insertion points are group per function and each insertion point
/// contains a list of all the uses it dominates within the related function
- /// \param Val constant to be examined
- /// \param[out] InsPtsPerFunc output storage of the analysis
+ /// \param User the user of the constant
+ /// \param OpNo the operand number of the constant
+ /// \param[out] InsertPts output storage of the analysis
void computeInsertionPoint(Instruction *User, unsigned OpNo,
InsertionPoints &InsertPts);
OpenPOWER on IntegriCloud