[Mlir-commits] [mlir] [mlir][MemRef] Add ExtractStridedMetadataOpCollapseShapeFolder (PR #89954)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Apr 24 10:19:05 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 70abbd9084e25d2485edfeb252b603b3910a23bc aaf3a95d0e6c52f7ced2d054ca35adb52b15a099 -- mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp b/mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
index b5578a5846..01847136d2 100644
--- a/mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
+++ b/mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
@@ -699,7 +699,8 @@ struct ExtractStridedMetadataOpCollapseShapeFolder
collapseShapeOp);
if (failed(stridedMetadata)) {
return rewriter.notifyMatchFailure(
- op, "failed to resolve metadata in terms of source collapse_shape op");
+ op,
+ "failed to resolve metadata in terms of source collapse_shape op");
}
Location loc = collapseShapeOp.getLoc();
``````````
</details>
https://github.com/llvm/llvm-project/pull/89954
More information about the Mlir-commits
mailing list