You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't really need PDL dialect constructors, since PDL patterns can be written in PDLL and can be converted to the PDL dialect with mlir-pdll.
I think we should either request additions to the C API upstream in MLIR, or implement them in a separate crate with API extensions.
Some additional considerations:
How expressive is the pdl dialect (or pdl-interp)? Are there patterns that can only be expressed using C++ RewritePatterns? If so, would it be useful to be able to write such patterns in Rust?
Would it be useful to expose an API in MLIR to compile PDLL and avoid needing to run the mlir-pdll command?
Problem
Solution
Proposing the C API for PDL
Extending
mlir-sys
References
The text was updated successfully, but these errors were encountered: