[Mlir-commits] [mlir] [MLIR][Python] Impl XOpInterface(s) from Python, with X=Transform and X=MemoryEffects (PR #176920)

Maksim Levental llvmlistbot at llvm.org
Tue Feb 3 09:46:14 PST 2026


================
@@ -22,6 +22,16 @@
 extern "C" {
 #endif
 
+#define DEFINE_C_API_STRUCT(name, storage)                                     \
+  struct name {                                                                \
+    storage *ptr;                                                              \
+  };                                                                           \
+  typedef struct name name
+
+DEFINE_C_API_STRUCT(MlirMemoryEffectInstancesList, void);
----------------
makslevental wrote:

same here

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


More information about the Mlir-commits mailing list