[Mlir-commits] [mlir] 35121ad - [mlir][NFC] Remove unused variable.
Benjamin Chetioui
llvmlistbot at llvm.org
Fri Jan 19 03:33:07 PST 2024
Author: Benjamin Chetioui
Date: 2024-01-19T11:32:19Z
New Revision: 35121add2e3d5748e2d6de517632e35ce08f41c2
URL: https://github.com/llvm/llvm-project/commit/35121add2e3d5748e2d6de517632e35ce08f41c2
DIFF: https://github.com/llvm/llvm-project/commit/35121add2e3d5748e2d6de517632e35ce08f41c2.diff
LOG: [mlir][NFC] Remove unused variable.
Added:
Modified:
mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
index 9c734e8cc2ad11..12aa11e9e33f5e 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
@@ -1190,7 +1190,6 @@ getTransferFoldableInnerUnitDims(MemRefType srcType, VectorType vectorType) {
static MemRefType getMemRefTypeWithDroppingInnerDims(OpBuilder &builder,
MemRefType srcType,
size_t dimsToDrop) {
- MemRefType resultMemrefType;
MemRefLayoutAttrInterface layout = srcType.getLayout();
if (isa<AffineMapAttr>(layout) && layout.isIdentity()) {
return MemRefType::get(srcType.getShape().drop_back(dimsToDrop),
More information about the Mlir-commits
mailing list