@@ -44,9 +44,9 @@ bool isStaticShapeAndContiguousRowMajor(MemRefType type);
44
44
// / is also scaled down by `dstBits`/`srcBits`. If `indices` is not provided
45
45
// / 0, is returned for the linearized index.
46
46
// / - If the size of the load/store is smaller than the linearized memref
47
- // / load/store, the memory region emulated is larger than the actual memory
48
- // / region needed. `intraDataOffset` returns the element offset of the data
49
- // / relevant at the beginning.
47
+ // / load/store, the memory region emulated is larger than the actual memory
48
+ // / region needed. `intraDataOffset` returns the element offset of the data
49
+ // / relevant at the beginning.
50
50
struct LinearizedMemRefInfo {
51
51
OpFoldResult linearizedOffset;
52
52
OpFoldResult linearizedSize;
@@ -69,8 +69,8 @@ getLinearizedMemRefOffsetAndSize(OpBuilder &builder, Location loc, int srcBits,
69
69
int dstBits, OpFoldResult offset,
70
70
ArrayRef<OpFoldResult> sizes);
71
71
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.
74
74
void eraseDeadAllocAndStores (RewriterBase &rewriter, Operation *parentOp);
75
75
76
76
// / Given a set of sizes, return the suffix product.
@@ -106,7 +106,7 @@ computeStridesIRBlock(Location loc, OpBuilder &builder,
106
106
// / memory is found (i.e. skip operations that alias the entire view).
107
107
MemrefValue skipFullyAliasingOperations (MemrefValue source);
108
108
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
110
110
// / the same region of memory.
111
111
inline bool isSameViewOrTrivialAlias (MemrefValue a, MemrefValue b) {
112
112
return skipFullyAliasingOperations (a) == skipFullyAliasingOperations (b);
0 commit comments