Skip to content

Commit 8abb46d

Browse files
Update mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
Co-authored-by: Andrzej Warzyński <[email protected]>
1 parent 6114fcf commit 8abb46d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,8 +1102,8 @@ static LogicalResult alignedConversionPrecondition(PatternRewriter &rewriter,
11021102
const int numSrcElemsPerByte = 8 / srcElemBitwidth;
11031103
if ((subByteVecType.getShape().back() % numSrcElemsPerByte) != 0)
11041104
return rewriter.notifyMatchFailure(
1105-
op, "the trailing dimension of subByteVecType must be a multiple of "
1106-
"the srcElemBitwidth / 8");
1105+
op, "the trailing dimension of the input vector of sub-bytes must be a multiple of "
1106+
"8 / <sub-byte-width>");
11071107

11081108
return success();
11091109
}

0 commit comments

Comments
 (0)