[Mlir-commits] [mlir] [MLIR][Python] Add the ability to signal pass failures in python-defined passes (PR #157613)
    llvmlistbot at llvm.org 
    llvmlistbot at llvm.org
       
    Tue Sep  9 06:45:37 PDT 2025
    
    
  
PragmaTwice wrote:
Hi @makslevental, I have finished the changes guided by [the gist](https://gist.github.com/makslevental/ca6170ea884ef2b8d04601be3b6c8cac).
A minor difference: I did some check and it seems that we don't need to cast the handle to `nb::callable` before calling it, so `nb::handle` should be enough here to use `operator()`.
https://github.com/llvm/llvm-project/pull/157613
    
    
More information about the Mlir-commits
mailing list