diff --git a/mlir/include/mlir/Dialect/Affine/Passes.td b/mlir/include/mlir/Dialect/Affine/Passes.td index 493fb39cd91e..b3efdc5872b3 100644 --- a/mlir/include/mlir/Dialect/Affine/Passes.td +++ b/mlir/include/mlir/Dialect/Affine/Passes.td @@ -299,7 +299,7 @@ def AffinePipelineDataTransfer } def AffineScalarReplacement : Pass<"affine-scalrep", "func::FuncOp"> { - let summary = "Replace affine memref acceses by scalars by forwarding stores " + let summary = "Replace affine memref accesses by scalars by forwarding stores " "to loads and eliminating redundant loads"; let description = [{ This pass performs store to load forwarding and redundant load elimination diff --git a/mlir/lib/Dialect/Affine/Utils/Utils.cpp b/mlir/lib/Dialect/Affine/Utils/Utils.cpp index 9359fde079e9..ff249008a5cc 100644 --- a/mlir/lib/Dialect/Affine/Utils/Utils.cpp +++ b/mlir/lib/Dialect/Affine/Utils/Utils.cpp @@ -865,7 +865,7 @@ static LogicalResult forwardStoreToLoad( // We now have a candidate for forwarding. assert(lastWriteStoreOp == nullptr && - "multiple simulataneous replacement stores"); + "multiple simultaneous replacement stores"); lastWriteStoreOp = storeOp; }