diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp --- a/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp +++ b/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp @@ -1376,7 +1376,7 @@ // Reduction expression should have no use. assert(redExp->getUses().empty()); // This must be a binary operation. - // NOTE: This is users' responsibilty to ensure the operation are + // NOTE: This is users' responsibility to ensure the operation are // commutative. assert(redExp->getNumOperands() == 2 && redExp->getNumResults() == 1); diff --git a/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp b/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp --- a/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp +++ b/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp @@ -400,7 +400,7 @@ EXPECT_EQ(sum, 2u); // A fresh data layout has a new cache, so the call to it should be dispatched - // down to the type and abort the proces. + // down to the type and abort the process. DataLayout second(op); ASSERT_DEATH(second.getTypeSize(SingleQueryType::get(&ctx)), "repeated call"); }