We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d860480 commit 71ba8bbCopy full SHA for 71ba8bb
mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
@@ -1505,7 +1505,6 @@ struct DropUnitDimFromElementwiseOps final
1505
1506
// Drop leading/trailing unit dim by applying vector.shape_cast to all
1507
// operands
1508
- auto elTy = sourceVectorType.getElementType();
1509
int64_t dim = hasLeadingDimUnitFixed ? 0 : sourceVectorType.getRank() - 1;
1510
VectorType newVType = VectorType::Builder(sourceVectorType).dropDim(dim);
1511
0 commit comments