[Mlir-commits] [mlir] 5703519 - [mlir] Fix typo in comments
Aart Bik
llvmlistbot at llvm.org
Tue Aug 22 17:52:17 PDT 2023
Author: Eymen Ünay
Date: 2023-08-22T17:51:57-07:00
New Revision: 57035192d03ae2934375dabec00c8cea8a7893ca
URL: https://github.com/llvm/llvm-project/commit/57035192d03ae2934375dabec00c8cea8a7893ca
DIFF: https://github.com/llvm/llvm-project/commit/57035192d03ae2934375dabec00c8cea8a7893ca.diff
LOG: [mlir] Fix typo in comments
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D157215
Added:
Modified:
mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp
mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/LoopEmitter.cpp
index f4e7cc49b9f46d..14d9a167450574 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 e9ba28e854bb44..dcb7d9684bb358 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");
}
More information about the Mlir-commits
mailing list