Skip to content

Commit 71ba8bb

Browse files
committed
[mlir,vector] Fix -Wunused-variable
1 parent d860480 commit 71ba8bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,6 @@ struct DropUnitDimFromElementwiseOps final
15051505

15061506
// Drop leading/trailing unit dim by applying vector.shape_cast to all
15071507
// operands
1508-
auto elTy = sourceVectorType.getElementType();
15091508
int64_t dim = hasLeadingDimUnitFixed ? 0 : sourceVectorType.getRank() - 1;
15101509
VectorType newVType = VectorType::Builder(sourceVectorType).dropDim(dim);
15111510

0 commit comments

Comments
 (0)