Hellu all. I'd like to know if we have a list of the mir-opts that have been implemented, and if we have written down at what state they're in. I'd like to document all of this information, and try to give an overview of:
I'm not aware of where that might be. I think there is a very small amount of documentation in the rustc dev guide which would probably be the ideal place to flesh that kind of content out.
Indeed, there is a little bit of documentation on them: https://rustc-dev-guide.rust-lang.org/mir/optimizations.html
It sounds like a good place to start going deeper into it, if it doesn't exist anywhere else :)
#implementors documentation also seems like a good place to put in some docs maybe, in the form of doc comments: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/transform/trait.MirPass.html#implementors