[Mlir-commits] [mlir] [NFC][mlir][tensor][transform] fix compilation warning. (PR #86977)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Mar 28 09:57:51 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-tensor
Author: Peiming Liu (PeimingLiu)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/86977.diff
1 Files Affected:
- (modified) mlir/lib/Dialect/Tensor/Transforms/MergeConsecutiveInsertExtractSlicePatterns.cpp (+1-1)
``````````diff
diff --git a/mlir/lib/Dialect/Tensor/Transforms/MergeConsecutiveInsertExtractSlicePatterns.cpp b/mlir/lib/Dialect/Tensor/Transforms/MergeConsecutiveInsertExtractSlicePatterns.cpp
index 59aa4322217583..ff003e486d21c8 100644
--- a/mlir/lib/Dialect/Tensor/Transforms/MergeConsecutiveInsertExtractSlicePatterns.cpp
+++ b/mlir/lib/Dialect/Tensor/Transforms/MergeConsecutiveInsertExtractSlicePatterns.cpp
@@ -156,7 +156,7 @@ struct DropRedundantRankExpansionOnInsertSliceOfExtractSlice final
using OpRewritePattern<tensor::InsertSliceOp>::OpRewritePattern;
LogicalResult matchAndRewrite(tensor::InsertSliceOp insertSliceOp,
- PatternRewriter &rewriter) const {
+ PatternRewriter &rewriter) const override {
auto extractSliceOp =
insertSliceOp.getSource().getDefiningOp<tensor::ExtractSliceOp>();
if (!extractSliceOp) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/86977
More information about the Mlir-commits
mailing list