[mlir] Fix typo in comments
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D157215
This commit is contained in:
parent
d8ae3a9b25
commit
57035192d0
@ -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);
|
||||
|
||||
|
||||
@ -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");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user