[Mlir-commits] [mlir] 0dec49c - [mlir][vector] Remove unused variable `srcShape`.
Hanhan Wang
llvmlistbot at llvm.org
Mon May 8 10:59:38 PDT 2023
Author: Hanhan Wang
Date: 2023-05-08T10:59:27-07:00
New Revision: 0dec49cb3466c7fe116030a568be423c6aa5bdf3
URL: https://github.com/llvm/llvm-project/commit/0dec49cb3466c7fe116030a568be423c6aa5bdf3
DIFF: https://github.com/llvm/llvm-project/commit/0dec49cb3466c7fe116030a568be423c6aa5bdf3.diff
LOG: [mlir][vector] Remove unused variable `srcShape`.
Differential Revision: https://reviews.llvm.org/D150130
Added:
Modified:
mlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp b/mlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp
index ec55aac6e06fd..edd939eda7c59 100644
--- a/mlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp
+++ b/mlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp
@@ -231,7 +231,6 @@ class TransposeOpLowering : public OpRewritePattern<vector::TransposeOp> {
// Retrieve the sizes of the two dimensions greater than one to be
// transposed.
- auto srcShape = srcType.getShape();
int64_t m = srcType.getDimSize(std::get<0>(srcGtOneDims.value()));
int64_t n = srcType.getDimSize(std::get<1>(srcGtOneDims.value()));
More information about the Mlir-commits
mailing list