r/Compilers • u/AmrDeveloper • Sep 02 '26
I made a regular expressions engine to match patterns in LLVM IR files
https://github.com/AmrDeveloper/IrRegex
2
Upvotes
r/Compilers • u/AmrDeveloper • Sep 02 '26
2
u/FloweyTheFlower420 Sep 02 '26
I fail to see the application here. Pattern matching on SSA is much better represented by DAG-on-DAG pattern matching, which is not as simple as a NFA.
1
u/c-cul Sep 02 '26
cool idea
does it support mlir?
1
u/yuehuang Sep 02 '26
Where do you plan to take this next beyond colorization?