[PATCH] D109187: [Transforms] Remove ModuleLevelChanges parameter from Clone functions
Scott Linder via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 2 13:21:49 PDT 2021
scott.linder created this revision.
Herald added a subscriber: hiraditya.
scott.linder requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This appears to be dead within the codebase, and adding trivial tests of
it expose issues around debug information cloning which imply it is not
being used out-of-tree.
The patch would be NFC if not for the API/ABI break, but again I believe
this is just removing a dead parameter.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109187
Files:
llvm/include/llvm/Transforms/Utils/Cloning.h
llvm/lib/Transforms/Utils/CloneFunction.cpp
llvm/lib/Transforms/Utils/InlineFunction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109187.370386.patch
Type: text/x-patch
Size: 6346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/fd1096e9/attachment.bin>
More information about the llvm-commits
mailing list