[Mlir-commits] [mlir] [MLIR][Python] Expose TransformOpInterface and MemoryEffectsOpInterface (PR #176920)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jan 20 05:00:18 PST 2026


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 origin/main HEAD --extensions cpp,h -- mlir/include/mlir/CAPI/Dialect/Transform.h mlir/lib/Bindings/Python/IRInterfaces.h mlir/include/mlir-c/Dialect/Transform.h mlir/include/mlir-c/IR.h mlir/include/mlir-c/Interfaces.h mlir/include/mlir/Bindings/Python/IRCore.h mlir/include/mlir/CAPI/IR.h mlir/include/mlir/CAPI/Interfaces.h mlir/lib/Bindings/Python/DialectTransform.cpp mlir/lib/Bindings/Python/IRCore.cpp mlir/lib/Bindings/Python/IRInterfaces.cpp mlir/lib/Bindings/Python/Rewrite.cpp mlir/lib/Bindings/Python/Rewrite.h mlir/lib/CAPI/Dialect/Transform.cpp mlir/lib/CAPI/IR/IR.cpp mlir/lib/CAPI/Interfaces/Interfaces.cpp mlir/lib/IR/OperationSupport.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/mlir/include/mlir-c/Dialect/Transform.h b/mlir/include/mlir-c/Dialect/Transform.h
index 38bd97561..b08748234 100644
--- a/mlir/include/mlir-c/Dialect/Transform.h
+++ b/mlir/include/mlir-c/Dialect/Transform.h
@@ -10,8 +10,8 @@
 #ifndef MLIR_C_DIALECT_TRANSFORM_H
 #define MLIR_C_DIALECT_TRANSFORM_H
 
-#include "mlir-c/Interfaces.h"
 #include "mlir-c/IR.h"
+#include "mlir-c/Interfaces.h"
 #include "mlir-c/Rewrite.h"
 #include "mlir-c/Support.h"
 

``````````

</details>


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


More information about the Mlir-commits mailing list