diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2018-05-14 15:20:51 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-05-17 22:27:29 +0200 |
| commit | 12308139ec76dfa050ed012606495250391aaf74 (patch) | |
| tree | e320b8181b2eaa4b0a15e428d3d7ef7f8193a108 /src/rustllvm/RustWrapper.cpp | |
| parent | 90463a6bdcd18c60e18a1cc810fc6453b96f7d54 (diff) | |
| download | rust-12308139ec76dfa050ed012606495250391aaf74.tar.gz rust-12308139ec76dfa050ed012606495250391aaf74.zip | |
Emit noalias on &mut parameters by default
This used to be disabled due to LLVM bugs in the handling of noalias information in conjunction with unwinding. However, according to #31681 all known LLVM bugs have been fixed by LLVM 6.0, so it's probably time to reenable this optimization. Noalias annotations will not be emitted by default if either -C panic=abort (as previously) or LLVM >= 6.0 (new). -Z mutable-noalias=no is left as an escape-hatch to allow debugging problems suspected to stem from this change.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
