about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2016-12-11 21:16:01 +0100
committerUlrik Sverdrup <bluss@users.noreply.github.com>2016-12-11 21:23:59 +0100
commit6d46a21cb3fd6d9c238fb979b5f071285f23e919 (patch)
treeb4337f2fead298d262e15c3832bc74327a1660ae /src/test/run-pass/thinlto
parentfd5dc057936f5d84ccd8c1d5965f60e669b589d8 (diff)
downloadrust-6d46a21cb3fd6d9c238fb979b5f071285f23e919.tar.gz
rust-6d46a21cb3fd6d9c238fb979b5f071285f23e919.zip
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
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions