HomePhabricator

[Inline] Don't add noalias metadata to inaccessiblememonly calls

Authored by nikic on Apr 17 2021, 5:51 AM.

Description

[Inline] Don't add noalias metadata to inaccessiblememonly calls

It will not do anything useful for them, as we already know that
they don't modref with any accessible memory.

In particular, this prevents noalias metadata from being placed
on noalias.scope.decl intrinsics. This reduces the amount of
metadata needed, and makes it more likely that unnecessary decls
can be eliminated.

Details

Committed
nikicApr 17 2021, 5:56 AM
Parents
rG595394321d51: [Support] AbsoluteDifference - add brackets to appease static analyzer warning.
Branches
Unknown
Tags
Unknown