Hi all, I wonder if there is an example of the step-by-step tutorial about how to use the .pdll file. I know that pdll → pdlmodule → pdl-interpreter pipeline, but how does this work? from https://github.com/llvm/llvm-project/blob/main/mlir/test/lib/Rewrite/TestPDLByteCode.cpp I cannot see when to parse .pdll, and how the pdlmodule is loaded. Could anyone please give an example? Thanks so much!!!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Do we have PDL interpreter? | 4 | 213 | May 30, 2024 | |
MLIR C API Hello World Example | 0 | 283 | July 11, 2023 | |
What's the purpose of PDL pattern? | 13 | 614 | November 30, 2023 | |
How to generate the content of “module @patterns” and "module @ir " in "mlir/test/Rewrite/pdl-bytecode.mlir" file? | 0 | 116 | September 25, 2023 | |
Plan for the PDL dialect? | 5 | 811 | November 5, 2020 |