[llvm] 7e57030 - [NFC] Fix typos
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 13:26:57 PST 2022
Author: Maksim Panchenko
Date: 2022-03-03T13:26:39-08:00
New Revision: 7e570308f225139d353f8133882b4946e2aa9a43
URL: https://github.com/llvm/llvm-project/commit/7e570308f225139d353f8133882b4946e2aa9a43
DIFF: https://github.com/llvm/llvm-project/commit/7e570308f225139d353f8133882b4946e2aa9a43.diff
LOG: [NFC] Fix typos
Reviewed By: yota9, Amir
Differential Revision: https://reviews.llvm.org/D120859
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 35c87b95dd816..2f8bf720417db 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -8286,7 +8286,7 @@ class SDISelAsmOperandInfo : public TargetLowering::AsmOperandInfo {
// accessed type.
if (isIndirect) {
OpTy = ParamElemType;
- assert(OpTy && "Indirect opernad must have elementtype attribute");
+ assert(OpTy && "Indirect operand must have elementtype attribute");
}
// Look for vector wrapped in a struct. e.g. { <16 x i8> }.
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 093fe58106b26..97f50cd266cb4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -5068,7 +5068,7 @@ TargetLowering::ParseConstraints(const DataLayout &DL,
llvm::Type *OpTy = OpInfo.CallOperandVal->getType();
if (OpInfo.isIndirect) {
OpTy = Call.getParamElementType(ArgNo);
- assert(OpTy && "Indirect opernad must have elementtype attribute");
+ assert(OpTy && "Indirect operand must have elementtype attribute");
}
// Look for vector wrapped in a struct. e.g. { <16 x i8> }.
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index e9ecff3bf514d..521e1f6413dfe 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -2722,7 +2722,7 @@ bool X86AsmParser::ParseZ(std::unique_ptr<X86Operand> &Z,
if (!getLexer().is(AsmToken::RCurly))
return Error(getLexer().getLoc(), "Expected } at this point");
Parser.Lex(); // Eat '}'
- // Assign Z with the {z} mark opernad
+ // Assign Z with the {z} mark operand
Z = X86Operand::CreateToken("{z}", StartLoc);
return false;
}
More information about the llvm-commits
mailing list