aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-07-27 22:50:57 -0400
committerHuber, Joseph <huberjn@ornl.gov>2021-07-28 18:57:28 -0400
commitadbaa39dfce7a8361d89b6a3b382fd8f50b94727 (patch)
treec9713d8996a9580d6ec753f365cc21e56304c816 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentdc9ee3925179c2de79cd2d1ffafc41e70249352c (diff)
downloadllvm-adbaa39dfce7a8361d89b6a3b382fd8f50b94727.zip
llvm-adbaa39dfce7a8361d89b6a3b382fd8f50b94727.tar.gz
llvm-adbaa39dfce7a8361d89b6a3b382fd8f50b94727.tar.bz2
[Attributor] Change function internalization to not replace uses in internalized callers
The current implementation of function internalization creats a copy of each function and replaces every use. This has the downside that the external versions of the functions will call into the internalized versions of the functions. This prevents them from being fully independent of eachother. This patch replaces the current internalization scheme with a method that creates all the copies of the functions intended to be internalized first and then replaces the uses as long as their caller is not already internalized. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106931
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions