diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-18 22:50:58 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-21 20:10:54 +0100 |
| commit | 39ed64399e842ec80eadb4eeb620154df6cc6130 (patch) | |
| tree | 7409578d22fccd65360a653b450bd8e9ff0679b2 /compiler/rustc_session/src | |
| parent | c3f9403f590ac8989bc50f933541a6234e391747 (diff) | |
| download | rust-39ed64399e842ec80eadb4eeb620154df6cc6130.tar.gz rust-39ed64399e842ec80eadb4eeb620154df6cc6130.zip | |
Enable mutable noalias by default for LLVM 12
We don't have any known noalias bugs for LLVM 12 ... yet.
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index e8865a25081..517051b200b 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -998,7 +998,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, mir_opt_level: Option<usize> = (None, parse_opt_uint, [TRACKED], "MIR optimization level (0-4; default: 1 in non optimized builds and 2 in optimized builds)"), mutable_noalias: Option<bool> = (None, parse_opt_bool, [TRACKED], - "emit noalias metadata for mutable references (default: no)"), + "emit noalias metadata for mutable references (default: yes for LLVM >= 12, otherwise no)"), new_llvm_pass_manager: bool = (false, parse_bool, [TRACKED], "use new LLVM pass manager (default: no)"), nll_facts: bool = (false, parse_bool, [UNTRACKED], |
