Skip to content

Commit c795c76

Browse files
author
git apple-llvm automerger
committed
Merge commit 'fedac3bdb838' from llvm.org/main into next
2 parents 54fd33c + fedac3b commit c795c76

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
@@ -332,6 +332,8 @@ static Value dynamicallyInsertSubVector(RewriterBase &rewriter, Location loc,
332332
auto destVecTy = cast<VectorType>(dest.getType());
333333
assert(srcVecTy.getRank() == 1 && destVecTy.getRank() == 1 &&
334334
"expected source and dest to be rank-1 vector types");
335+
(void)srcVecTy;
336+
(void)destVecTy;
335337
assert(numElemsToInsert > 0 &&
336338
"the number of elements to insert must be greater than 0");
337339
// NOTE: We are unable to take the offset into account in the following

0 commit comments

Comments
 (0)