[Mlir-commits] [mlir] [mlir][Python] create MLIRPythonSupport (PR #171775)

Maksim Levental llvmlistbot at llvm.org
Thu Dec 25 19:07:05 PST 2025


================
@@ -53,23 +55,29 @@ class PyPassManager {
   MlirPassManager passManager;
 };
 
-} // namespace
+enum PyMlirPassDisplayMode : std::underlying_type<MlirPassDisplayMode>::type {
+  MLIR_PASS_DISPLAY_MODE_LIST = MLIR_PASS_DISPLAY_MODE_LIST,
+  MLIR_PASS_DISPLAY_MODE_PIPELINE = MLIR_PASS_DISPLAY_MODE_PIPELINE
+};
----------------
makslevental wrote:

I prefer to leave as is to minimize green lines in this PR - we can come back and bikeshed in a follow-up 😄

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


More information about the Mlir-commits mailing list