]> granicus.if.org Git - llvm/commit
[ThinLTO] Create AliasSummary when building index
authorTeresa Johnson <tejohnson@google.com>
Fri, 28 Oct 2016 02:39:38 +0000 (02:39 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 28 Oct 2016 02:39:38 +0000 (02:39 +0000)
commitd39de453997d852448db9c1dd5425de7d9bd4058
tree8500d09155c89fb18893885250215571377bb0ed
parent89aab30a425181e421d34b686094031453bc3ff3
[ThinLTO] Create AliasSummary when building index

Summary:
Previously we were creating the alias summary on the fly while writing
the summary to bitcode. This moves the creation of these summaries to
the module summary index builder where we build the rest of the summary
index.

This is going to be necessary for setting the NoRename flag for values
possibly used in inline asm or module level asm.

Reviewers: mehdi_amini

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D26049

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ModuleSummaryAnalysis.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp