Running first optimisation pass

Hi,

How would I go about running my first optimisation pass?
I want to use a rewrite pattern, I understand I need to use mlir-opt but I’m a little confused beyond that

Thanks

Hi, I found this minimal out-of-tree project with this repo very beginner friendly. Hope it helps.

1 Like

That’s so so helpful, thank you very much!