1
Fork 0

Enable mutable noalias by default for LLVM 12

We don't have any known noalias bugs for LLVM 12 ... yet.
This commit is contained in:
Nikita Popov 2021-03-18 22:50:58 +01:00
parent c3f9403f59
commit 39ed64399e
3 changed files with 14 additions and 16 deletions

View file

@ -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],