Skip to content

Commit cfe16db

Browse files
committed
Another update
1 parent 974c2cb commit cfe16db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ static Value extractSliceIntoByte(ConversionPatternRewriter &rewriter,
377377
int64_t insertOffset) {
378378
assert(vector.getType().getRank() == 1 && "expected 1-D vector");
379379
auto vectorElementType = vector.getType().getElementType();
380+
// TODO: update and use `alignedConversionPrecondition` in the place of
381+
// these asserts.
380382
assert(
381383
sliceNumElements * vectorElementType.getIntOrFloatBitWidth() <= 8 &&
382384
"sliceNumElements * vector element size must be less than or equal to 8");

0 commit comments

Comments
 (0)