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
On return values `noalias` has a stricter meaning than on arguments. It
means that the function is malloc-like. To quote the LLVM docs:
Furthermore, the semantics of the noalias attribute on return values
are stronger than the semantics of the attribute when used on
function arguments. On function return values, the noalias attribute
indicates that the function acts like a system memory allocation
function, returning a pointer to allocated storage disjoint from the
storage for any other object accessible to the caller.
We use it for all kinds of functions, which is wrong, so let's stop
doing that.
Fixes#21996
0 commit comments