Skip to content

Commit dd52f96

Browse files
fix the compiling error
1 parent 3780b8b commit dd52f96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

third_party/tsingmicro/lib/Conversion/StructuredToMemref/StructuredToMemref.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ struct LoadConverter : public OpConversionPattern<tts::LoadOp> {
10881088

10891089
// Wrap-around detection for contiguous dimension
10901090
Value colSize = ofrToIndexValue(sizes[contiguousDim], loc, rewriter);
1091-
auto split = computeWrapAroundSplit(loc, rewriter, ptr.getMixedShape(),
1091+
auto split = computeWrapAroundSplit(loc, rewriter, ptr.getMixedSizes(),
10921092
contiguousDim, offsetVal, colSize);
10931093

10941094
SmallVector<OpFoldResult> zeroOffs(rank, rewriter.getIndexAttr(0));
@@ -1244,7 +1244,7 @@ struct StoreConverter : public OpConversionPattern<tts::StoreOp> {
12441244
auto sizes =
12451245
mlir::getMixedValues(staticSizes, SmallVector<Value>{}, rewriter);
12461246
auto ptrOffsets = ptr.getMixedOffsets();
1247-
auto ptrShapes = ptr.getMixedShape();
1247+
auto ptrShapes = ptr.getMixedSizes();
12481248

12491249
// Check for wrap-around on contiguous dimension
12501250
Value colSize = ofrToIndexValue(sizes[contiguousDim], loc, rewriter);

0 commit comments

Comments
 (0)