As far as I can see -Z flags for dumping MIR print post-optimization MIRs, is there a way to see MIR before optimizations?
You want to use the
-Z dump-mir flag.
Which will dump the MIR before and after each pass
Oh, I tried that flag but couldn't understand the output. That page is very helpful, thanks.