Skip to content

Commit f817a1b

Browse files
authored
[NFC] Fix typo of integer (#169325)
1 parent 5490bcf commit f817a1b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

flang/lib/Optimizer/Builder/Runtime/Reduction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ mlir::Value fir::runtime::genReduce(fir::FirOpBuilder &builder,
18411841

18421842
assert((fir::isa_real(eleTy) || fir::isa_integer(eleTy) ||
18431843
mlir::isa<fir::LogicalType>(eleTy)) &&
1844-
"expect real, interger or logical");
1844+
"expect real, integer or logical");
18451845

18461846
auto [cat, kind] = fir::mlirTypeToCategoryKind(loc, eleTy);
18471847
mlir::func::FuncOp func;

lldb/include/lldb/API/SBStructuredData.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ class SBStructuredData {
114114
/// the previous data.
115115
void SetValueForKey(const char *key, SBStructuredData &value);
116116

117-
/// Change the type to unsigned interger and overwrite the previous data with
117+
/// Change the type to unsigned integer and overwrite the previous data with
118118
/// the new value.
119119
void SetUnsignedIntegerValue(uint64_t value);
120120

121-
/// Change the type to signed interger and overwrite the previous data with
121+
/// Change the type to signed integer and overwrite the previous data with
122122
/// the new value.
123123
void SetSignedIntegerValue(int64_t value);
124124

mlir/include/mlir/Analysis/DataFlow/IntegerRangeAnalysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class IntegerRangeAnalysis
4848
public:
4949
using SparseForwardDataFlowAnalysis::SparseForwardDataFlowAnalysis;
5050

51-
/// At an entry point, we cannot reason about interger value ranges.
51+
/// At an entry point, we cannot reason about integer value ranges.
5252
void setToEntryState(IntegerValueRangeLattice *lattice) override {
5353
propagateIfChanged(lattice, lattice->join(IntegerValueRange::getMaxRange(
5454
lattice->getAnchor())));

mlir/lib/Target/LLVMIR/ModuleImport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ static TypedAttr getScalarConstantAsAttr(OpBuilder &builder,
12211221
llvm::Constant *constScalar) {
12221222
MLIRContext *context = builder.getContext();
12231223

1224-
// Convert scalar intergers.
1224+
// Convert scalar integers.
12251225
if (auto *constInt = dyn_cast<llvm::ConstantInt>(constScalar)) {
12261226
return builder.getIntegerAttr(
12271227
IntegerType::get(context, constInt->getBitWidth()),

0 commit comments

Comments
 (0)