Skip to content

Commit 7e57030

Browse files
committed
[NFC] Fix typos
Reviewed By: yota9, Amir Differential Revision: https://reviews.llvm.org/D120859
1 parent fada230 commit 7e57030

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8286,7 +8286,7 @@ class SDISelAsmOperandInfo : public TargetLowering::AsmOperandInfo {
82868286
// accessed type.
82878287
if (isIndirect) {
82888288
OpTy = ParamElemType;
8289-
assert(OpTy && "Indirect opernad must have elementtype attribute");
8289+
assert(OpTy && "Indirect operand must have elementtype attribute");
82908290
}
82918291

82928292
// Look for vector wrapped in a struct. e.g. { <16 x i8> }.

llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5068,7 +5068,7 @@ TargetLowering::ParseConstraints(const DataLayout &DL,
50685068
llvm::Type *OpTy = OpInfo.CallOperandVal->getType();
50695069
if (OpInfo.isIndirect) {
50705070
OpTy = Call.getParamElementType(ArgNo);
5071-
assert(OpTy && "Indirect opernad must have elementtype attribute");
5071+
assert(OpTy && "Indirect operand must have elementtype attribute");
50725072
}
50735073

50745074
// Look for vector wrapped in a struct. e.g. { <16 x i8> }.

llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2722,7 +2722,7 @@ bool X86AsmParser::ParseZ(std::unique_ptr<X86Operand> &Z,
27222722
if (!getLexer().is(AsmToken::RCurly))
27232723
return Error(getLexer().getLoc(), "Expected } at this point");
27242724
Parser.Lex(); // Eat '}'
2725-
// Assign Z with the {z} mark opernad
2725+
// Assign Z with the {z} mark operand
27262726
Z = X86Operand::CreateToken("{z}", StartLoc);
27272727
return false;
27282728
}

0 commit comments

Comments
 (0)