[all-commits] [llvm/llvm-project] e68b12: [Inline] Don't add noalias metadata to inaccessibl...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat Apr 17 05:56:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e68b12c99eaf9cdfdf3e3e7c4533bb03b60afd36
https://github.com/llvm/llvm-project/commit/e68b12c99eaf9cdfdf3e3e7c4533bb03b60afd36
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-04-17 (Sat, 17 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/noalias-calls2.ll
M llvm/test/Transforms/Inline/noalias2.ll
Log Message:
-----------
[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.
More information about the All-commits
mailing list