I would like to do some experiments to explore the performance impact of the MIR optimization algorithm on the compilation of Rust programs, and analyze how the MIR optimized algorithm can be further improved.
I used rustc-perf as benchmark, and I run the projects with different optimization combinations. The results show that the optimization at the LLVM level is significant, while the optimization at the MIR level seems to be unstable.
I think there is definitely space for improvement in MIR-based optimization algorithms, such as improvement or addition of some specific algorithms, but how should I further specify exactly where the shortcomings of MIR optimization lie?