Skip to content

Commit 42eda8e

Browse files
NFC- corrected comment syntax
NFC- corrected comment syntax. Changed // to /// and nit grammatical change.
1 parent a7dd66c commit 42eda8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ getLinearizedMemRefOffsetAndSize(OpBuilder &builder, Location loc, int srcBits,
6969
int dstBits, OpFoldResult offset,
7070
ArrayRef<OpFoldResult> sizes);
7171

72-
// Track temporary allocations that are never read from. If this is the case
73-
// it means both the allocations and associated stores can be removed.
72+
/// Track temporary allocations that are never read from. If this is the case
73+
/// it means both the allocations and associated stores can be removed.
7474
void eraseDeadAllocAndStores(RewriterBase &rewriter, Operation *parentOp);
7575

7676
/// Given a set of sizes, return the suffix product.
@@ -106,7 +106,7 @@ computeStridesIRBlock(Location loc, OpBuilder &builder,
106106
/// memory is found (i.e. skip operations that alias the entire view).
107107
MemrefValue skipFullyAliasingOperations(MemrefValue source);
108108

109-
/// Checks if two (memref) values are the same or are statically known to alias
109+
/// Checks if two (memref) values are the same or statically known to alias
110110
/// the same region of memory.
111111
inline bool isSameViewOrTrivialAlias(MemrefValue a, MemrefValue b) {
112112
return skipFullyAliasingOperations(a) == skipFullyAliasingOperations(b);

0 commit comments

Comments
 (0)