[Mlir-commits] [mlir] [mlir][Transform] Provide a minimal set of utils that allow implementing a simple transform dialect interpreter pass (PR #68330)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 5 09:23:42 PDT 2023
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 0ca7e609fc5ebdd9c95f6cba3c608cae4b575846 4915a96c7165d0c59c5de929271df8dbfb684a7e -- mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h mlir/lib/Dialect/Transform/Transforms/TransformInterpreterUtils.cpp mlir/include/mlir/Dialect/Transform/IR/MatchInterfaces.h mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp mlir/lib/Dialect/Transform/IR/TransformOps.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h b/mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h
index 2c7abb6df199..7b203b5366bf 100644
--- a/mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h
+++ b/mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterUtils.h
@@ -43,8 +43,9 @@ parseTransformInterpreterModule(MLIRContext *context,
/// from file is expected to be prohibitively expensive.
/// In such cases, the transform module is expected to be found in the preloaded
/// library modules of the transform dialect.
-LogicalResult getPreloadedTransformInterpreterModule(
- MLIRContext *context, OwningOpRef<ModuleOp> &module);
+LogicalResult
+getPreloadedTransformInterpreterModule(MLIRContext *context,
+ OwningOpRef<ModuleOp> &module);
/// Finds the first TransformOpInterface named `kTransformEntryPointSymbolName`
/// that is either:
``````````
</details>
https://github.com/llvm/llvm-project/pull/68330
More information about the Mlir-commits
mailing list