raviqqe / melior

The rustic MLIR bindings in Rust
https://raviqqe.github.io/melior/melior/
Apache License 2.0
326 stars 40 forks source link

`melior::pass::PassManager::{from_raw, to_raw}` don't exist #603

Open aDifferentJT opened 1 month ago

aDifferentJT commented 1 month ago

I'm not sure whether there's a good reason these don't exist, I can't think of one. I need to_raw in order to add instrumentation to my pass, for now I'm passing the OpPassManager to C++ and static casting, which is unsafe.