Skip to content

Commit 4f6aa7a

Browse files
committed
Fix more
1 parent ad7e3ee commit 4f6aa7a

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ void mlir::populateSPIRVToLLVMConversionPatterns(
15731573
FComparePattern<spirv::FOrdGreaterThanOp, LLVM::FCmpPredicate::ogt>,
15741574
FComparePattern<spirv::FOrdGreaterThanEqualOp, LLVM::FCmpPredicate::oge>,
15751575
FComparePattern<spirv::FOrdLessThanEqualOp, LLVM::FCmpPredicate::ole>,
1576-
FComparePattern<spirv::FOrdLessThanOp, LLVM::FCmpPredicate::old>,
1576+
FComparePattern<spirv::FOrdLessThanOp, LLVM::FCmpPredicate::olt>,
15771577
FComparePattern<spirv::FOrdNotEqualOp, LLVM::FCmpPredicate::one>,
15781578
FComparePattern<spirv::FUnordEqualOp, LLVM::FCmpPredicate::ueq>,
15791579
FComparePattern<spirv::FUnordGreaterThanOp, LLVM::FCmpPredicate::ugt>,

mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ struct EraseAlwaysFalseDealloc : public OpRewritePattern<DeallocOp> {
10761076
/// memref if the operand is not already guaranteed to be the result of a memref
10771077
/// allocation operation. This canonicalization pattern removes this extraction
10781078
/// operation if the operand is now produced by an allocation operation (e.g.,
1079-
/// due to other canonicalization simplifying the IR).
1079+
/// due to other canonicalizations simplifying the IR).
10801080
///
10811081
/// Example:
10821082
/// ```mlir

mlir/lib/Dialect/Linalg/Transforms/EraseUnusedOperandsAndResults.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ struct RemoveUnusedCycleInGenericOp : public OpRewritePattern<GenericOp> {
374374
/// Assuming that all %a and %b have the same index map:
375375
/// * All uses of %in0 and %in2 are replaced with %out1
376376
/// * All uses of %in1 are replaced with %in3
377-
/// This pattern can enable additional canonicalization: In the above example,
377+
/// This pattern can enable additional canonicalizations: In the above example,
378378
/// %in0, %in1 and %in3 have no uses anymore and their corresponding operands
379379
/// can be folded away. This pattern does not modify uses of output block args.
380380
struct FoldDuplicateInputBbArgs : public OpRewritePattern<GenericOp> {

mlir/lib/Dialect/Linalg/Transforms/NamedOpConversions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// This file implements conversions between named ops that can be seens as
10-
// canonicalization of named ops.
10+
// canonicalizations of named ops.
1111
//
1212
//===----------------------------------------------------------------------===//
1313

mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,8 +1283,8 @@ vectorizeOneOp(RewriterBase &rewriter, VectorizationState &state,
12831283
/// permutation_map of the vector.transfer_read operations. The eager
12841284
/// broadcasting makes it trivial to detrmine where broadcast, transposes and
12851285
/// reductions should occur, without any bookkeeping. The tradeoff is that, in
1286-
/// the absence of good canonicalization, the amount of work increases.
1287-
/// This is not deemed a problem as we expect canonicalization and foldings to
1286+
/// the absence of good canonicalizations, the amount of work increases.
1287+
/// This is not deemed a problem as we expect canonicalizations and foldings to
12881288
/// aggressively clean up the useless work.
12891289
static LogicalResult
12901290
vectorizeAsLinalgGeneric(RewriterBase &rewriter, VectorizationState &state,

mlir/lib/Dialect/MemRef/Transforms/EmulateWideInt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ struct EmulateWideIntPass final
121121
[&typeConverter](Operation *op) { return typeConverter.isLegal(op); });
122122

123123
RewritePatternSet patterns(ctx);
124-
// Add common pattenrs to support contains, functions, etc.
124+
// Add common patterns to support contants, functions, etc.
125125
arith::populateArithWideIntEmulationPatterns(typeConverter, patterns);
126126

127127
memref::populateMemRefWideIntEmulationPatterns(typeConverter, patterns);

mlir/lib/Dialect/SCF/Utils/Utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ SmallVector<scf::ForOp> mlir::replaceLoopNestWithNewYields(
110110
/// Assumes the FuncOp result types is the type of the yielded operands of the
111111
/// single block. This constraint makes it easy to determine the result.
112112
/// This method also clones the `arith::ConstantIndexOp` at the start of
113-
/// `outlinedFuncBody` to alloc simple canonicalization. If `callOp` is
113+
/// `outlinedFuncBody` to alloc simple canonicalizations. If `callOp` is
114114
/// provided, it will be set to point to the operation that calls the outlined
115115
/// function.
116116
// TODO: support more than single-block regions.

0 commit comments

Comments
 (0)