Skip to content

Commit 7ec6e73

Browse files
committed
[DAG] Fix typos in comments; NFC
1 parent 7c0d52c commit 7ec6e73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/CodeGen/SelectionDAG.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,10 +1613,10 @@ class SelectionDAG {
16131613
/// Expand the specified \c ISD::VACOPY node as the Legalize pass would.
16141614
SDValue expandVACopy(SDNode *Node);
16151615

1616-
/// Returs an GlobalAddress of the function from the current module with
1616+
/// Return a GlobalAddress of the function from the current module with
16171617
/// name matching the given ExternalSymbol. Additionally can provide the
16181618
/// matched function.
1619-
/// Panics the function doesn't exists.
1619+
/// Panic if the function doesn't exist.
16201620
SDValue getSymbolFunctionGlobalAddress(SDValue Op,
16211621
Function **TargetFunction = nullptr);
16221622

@@ -2255,7 +2255,7 @@ class SelectionDAG {
22552255
std::pair<EVT, EVT> GetDependentSplitDestVTs(const EVT &VT, const EVT &EnvVT,
22562256
bool *HiIsEmpty) const;
22572257

2258-
/// Split the vector with EXTRACT_SUBVECTOR using the provides
2258+
/// Split the vector with EXTRACT_SUBVECTOR using the provided
22592259
/// VTs and return the low/high part.
22602260
std::pair<SDValue, SDValue> SplitVector(const SDValue &N, const SDLoc &DL,
22612261
const EVT &LoVT, const EVT &HiVT);

0 commit comments

Comments
 (0)