[Mlir-commits] [mlir] 1acba8a - [mlir] Reinstate the variable
Bill Wendling
llvmlistbot at llvm.org
Tue Apr 5 13:57:20 PDT 2022
Author: Bill Wendling
Date: 2022-04-05T13:57:14-07:00
New Revision: 1acba8a4b5d7bbebf296fc2b154bf9dfb837db52
URL: https://github.com/llvm/llvm-project/commit/1acba8a4b5d7bbebf296fc2b154bf9dfb837db52
DIFF: https://github.com/llvm/llvm-project/commit/1acba8a4b5d7bbebf296fc2b154bf9dfb837db52.diff
LOG: [mlir] Reinstate the variable
Mid-air collition of patches.
Added:
Modified:
mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp
index 4b22bffa93ced..224c7fbc01df4 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp
@@ -258,6 +258,7 @@ class DecomposeNDExtractStridedSlice
int64_t stride =
op.getStrides().getValue().front().cast<IntegerAttr>().getInt();
+ auto loc = op.getLoc();
auto elemType = dstType.getElementType();
assert(elemType.isSignlessIntOrIndexOrFloat());
More information about the Mlir-commits
mailing list