Skip to content

Commit 8c54eff

Browse files
authored
[NFC] Fix typos 'seperate' -> 'separate' (#144368)
Correct few typos: 'seperate' -> 'separate' .
1 parent 6375c43 commit 8c54eff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/lib/Bindings/Python/IRAttributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ class PyDenseElementsAttribute
11251125
bulkLoadElementType = mlirF16TypeGet(context);
11261126
} else if (format == "?") {
11271127
// i1
1128-
// The i1 type needs to be bit-packed, so we will handle it seperately
1128+
// The i1 type needs to be bit-packed, so we will handle it separately
11291129
return getBitpackedAttributeFromBooleanBuffer(view, explicitShape,
11301130
context);
11311131
} else if (isSignedIntegerFormat(format)) {

mlir/tools/mlir-tblgen/EnumsGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, {0} value) {{
222222
llvm::StringSwitch<StringRef>(separator.trim())
223223
.Case("|", "parseOptionalVerticalBar")
224224
.Case(",", "parseOptionalComma")
225-
.Default("error, enum seperator must be '|' or ','");
225+
.Default("error, enum separator must be '|' or ','");
226226
os << formatv(parsedAndPrinterStartUnquotedBitEnum, qualName, cppNamespace,
227227
enumInfo.getSummary(), casesList, separator,
228228
parseSeparatorFn);

0 commit comments

Comments
 (0)