[PATCH] D108361: [InlineFunction] Extend addAliasScopeMetadata() for non inliner requirements.
Abinav Puthan Purayil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 19 03:38:28 PDT 2021
abinavpp created this revision.
Herald added subscribers: jeroen.dobbelaere, hiraditya.
abinavpp requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This change exposes addAliasScopeMetadata() to the llvm namespace and extends
it beyond the inliner requirements. We're not changing the existing use of
addAliasScopeMetadata() within InlineFunction.cpp which works on the CallBase
with a ValueToValueMap. We're generalizing this function in such a way that
it works on a `Function` without an explicit ValueToValueMap.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108361
Files:
llvm/include/llvm/Transforms/Utils/Cloning.h
llvm/lib/Transforms/Utils/InlineFunction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108361.367443.patch
Type: text/x-patch
Size: 8267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210819/8a48b573/attachment.bin>
More information about the llvm-commits
mailing list