You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
This optimization is important because the latter loop can be further optimized to a memcpy when value is Copy. However, this optimization requires that the memory referenced to by ptr not alias with self.len.
We used to do that optimization in older versions of rustc (using an LLVM noalias attribute, not in trans), but stopped emitting that attribute because LLVM's semantics miss the "is known not to panic" requirement. If we deal with that issue, we would like to apply noalias again.