From 57035192d03ae2934375dabec00c8cea8a7893ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eymen=20=C3=9Cnay?= Date: Tue, 22 Aug 2023 17:50:15 -0700 Subject: [PATCH] [mlir] Fix typo in comments Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D157215 --- mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp | 2 +- mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp index f4e7cc49b9f4..14d9a1674505 100644 --- a/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp +++ b/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp @@ -1376,7 +1376,7 @@ void LoopEmitter::exitForLoop(RewriterBase &rewriter, Location loc, // 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 index e9ba28e854bb..dcb7d9684bb3 100644 --- a/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp +++ b/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp @@ -400,7 +400,7 @@ TEST(DataLayout, Caching) { 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"); }