From 1acba8a4b5d7bbebf296fc2b154bf9dfb837db52 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 5 Apr 2022 13:56:44 -0700 Subject: [PATCH] [mlir] Reinstate the variable Mid-air collition of patches. --- .../Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp index 4b22bff..224c7fb 100644 --- a/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp +++ b/mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp @@ -258,6 +258,7 @@ public: int64_t stride = op.getStrides().getValue().front().cast().getInt(); + auto loc = op.getLoc(); auto elemType = dstType.getElementType(); assert(elemType.isSignlessIntOrIndexOrFloat()); -- 2.7.4