[PATCH] D93039: Introduce llvm.noalias.decl intrinsic

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 08:08:59 PST 2021


jeroen.dobbelaere added a comment.

Another observation/question I have is about possible optimizations for omitting the `@llvm.experimental.noalias.scope.decl`: In the full restrict patches, the declarations are thrown away when there are no users any more. The equivalent with the implementation here, is that we can throw away the declaration if the scope it declares is not used in any `!alias.scope` metadata. Would this be something that is easy (and fast) to check ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93039/new/

https://reviews.llvm.org/D93039



More information about the llvm-commits mailing list