2 ms·
> Apparently the Rust compiler saw a 5% improvement (on average) when they enabled automatic aliasing information (they are now working with LLVM to get it back
by masklinn 5y ago
> Apparently the Rust compiler saw a 5% improvement (on average) when they enabled automatic aliasing information (they are now working with LLVM to get it back on).
For now, it should be part of the next release (1.54).
It was originally slated for 1.53, but then a new miscompilation was discovered during the 1.53 release cycle, so it stayed off.
- josephg 5y ago1.54 landed just the other day, and I didn’t see any mention of noalias in the release notes. I’m curious to see if some of my microbenchmarks improve. And idea what’s going on with it? 1.55 maybe? https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
- kibwen 5y agoIn Rust 1.54 the option known as `-Z mutable-noalias` is now on-by-default if you're using an LLVM version >= 12 (which includes the LLVM that ships with the official Rust distribution). I suspect it was overlooked in the release notes since the patch enabling it landed a few releases ago, and the patch was never reverted on nightly, only on beta/stable.
- deleted 5y ago[deleted]