rust/src/librustc/session
Ulrik Sverdrup 6d46a21cb3 Simplify use of mir_opt_level
Remove the unused top level option by the same name, and retain the
debug option.

Use -Zmir-opt-level=1 as default.

One pass is enabled by default but wants to be optional:

- Instcombine requires mir_opt_level > 0

Copy propagation is not used by default, but used to be activated by
explicit -Zmir-opt-level=1. It must move one higher to be off by
default:

- CopyPropagation requires mir_opt_level > 1

Deaggregate is not used by default, and used to be on a different level
than CopyPropagation:

- Deaggreate requires mir_opt_level > 2
2016-12-11 21:23:59 +01:00
..
code_stats.rs Revisions from review comments, squashed. 2016-11-24 10:30:18 +01:00
config.rs Simplify use of mir_opt_level 2016-12-11 21:23:59 +01:00
filesearch.rs Simplify str and Path comparison. 2016-10-10 19:46:18 -04:00
mod.rs limit the length of types in monomorphization 2016-12-02 00:54:22 +02:00
search_paths.rs Add the notion of a dependency tracking status to commandline arguments. 2016-08-11 09:56:00 -04:00