[llvm] 7ec6e73 - [DAG] Fix typos in comments; NFC
Sven van Haastregt via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 01:25:35 PST 2024
Author: Sven van Haastregt
Date: 2024-02-08T09:03:08Z
New Revision: 7ec6e7351458924946e9afaadf9788cb233095b9
URL: https://github.com/llvm/llvm-project/commit/7ec6e7351458924946e9afaadf9788cb233095b9
DIFF: https://github.com/llvm/llvm-project/commit/7ec6e7351458924946e9afaadf9788cb233095b9.diff
LOG: [DAG] Fix typos in comments; NFC
Added:
Modified:
llvm/include/llvm/CodeGen/SelectionDAG.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h
index b9ec30754f0c32..886ec0b7940ca8 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAG.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAG.h
@@ -1613,10 +1613,10 @@ class SelectionDAG {
/// Expand the specified \c ISD::VACOPY node as the Legalize pass would.
SDValue expandVACopy(SDNode *Node);
- /// Returs an GlobalAddress of the function from the current module with
+ /// Return a GlobalAddress of the function from the current module with
/// name matching the given ExternalSymbol. Additionally can provide the
/// matched function.
- /// Panics the function doesn't exists.
+ /// Panic if the function doesn't exist.
SDValue getSymbolFunctionGlobalAddress(SDValue Op,
Function **TargetFunction = nullptr);
@@ -2255,7 +2255,7 @@ class SelectionDAG {
std::pair<EVT, EVT> GetDependentSplitDestVTs(const EVT &VT, const EVT &EnvVT,
bool *HiIsEmpty) const;
- /// Split the vector with EXTRACT_SUBVECTOR using the provides
+ /// Split the vector with EXTRACT_SUBVECTOR using the provided
/// VTs and return the low/high part.
std::pair<SDValue, SDValue> SplitVector(const SDValue &N, const SDLoc &DL,
const EVT &LoVT, const EVT &HiVT);
More information about the llvm-commits
mailing list