RattataKing wrote: @makslevental We need CAPI because we wrapped some LLVM utilities to C for mlir-py: https://github.com/llvm/llvm-project/blob/main/mlir/lib/CAPI/IR/Support.cpp#L27-L76 https://github.com/llvm/llvm-project/pull/181779