[mlir] Fix typo in comments

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D157215
This commit is contained in:
Eymen Ünay 2023-08-22 17:50:15 -07:00 committed by Aart Bik
parent d8ae3a9b25
commit 57035192d0
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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");
}