mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
d694e283b3
Refactor the optimization passes to explicitly use the passes. This commit just re-implements the same passes as were already being run. It also adds an option (behind `-Z`) to run the LLVM lint pass on the unoptimized IR.