[Mlir-commits] [mlir] [MLIR][Linalg] Add pass to convert linalg.generic back to named ops (PR #95656)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jun 28 16:08:58 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 59c6bd156cc8b42758ce90909615748e21c6eee2 bc4215bed059c10edf0d3823a941cfe84c3421d1 -- mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h b/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
index 166e029c00..37ba58ea4a 100644
--- a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
+++ b/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
@@ -1395,8 +1395,7 @@ struct LinalgGeneralizationPattern
   }
 };
 
-struct LinalgSpecializationPattern
-    : public OpRewritePattern<GenericOp> {
+struct LinalgSpecializationPattern : public OpRewritePattern<GenericOp> {
   using OpRewritePattern<GenericOp>::OpRewritePattern;
 
   FailureOr<GenericOp>

``````````

</details>


https://github.com/llvm/llvm-project/pull/95656


More information about the Mlir-commits mailing list