diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-13 17:18:42 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-13 17:18:42 +0000 |
commit | ce744a95fd99e7b9ae368e2f98de60b09c70fed0 (patch) | |
tree | ef64981e3528a03565000d7b4a5fe58d6a5e8179 /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | f5a7ec7a5ced6720b84dbebe2b396bc95cadce09 (diff) | |
download | llvm-ce744a95fd99e7b9ae368e2f98de60b09c70fed0.zip llvm-ce744a95fd99e7b9ae368e2f98de60b09c70fed0.tar.gz llvm-ce744a95fd99e7b9ae368e2f98de60b09c70fed0.tar.bz2 |
Make aliases explicit in the summary
Summary:
To be able to work accurately on the reference graph when taking decision
about internalizing, promoting, renaming, etc. We need to have the alias
information explicit.
Reviewers: tejohnson
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D18836
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266214
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
-rw-r--r-- | llvm/lib/IR/ModuleSummaryIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp index aa34532..cc1e8a9 100644 --- a/llvm/lib/IR/ModuleSummaryIndex.cpp +++ b/llvm/lib/IR/ModuleSummaryIndex.cpp @@ -73,7 +73,7 @@ void ModuleSummaryIndex::removeEmptySummaryEntries() { // (GUID -> Summary). void ModuleSummaryIndex::collectDefinedFunctionsForModule( StringRef ModulePath, - std::map<GlobalValue::GUID, FunctionSummary *> &FunctionInfoMap) const { + std::map<GlobalValue::GUID, GlobalValueSummary *> &FunctionInfoMap) const { for (auto &GlobalList : *this) { auto GUID = GlobalList.first; for (auto &GlobInfo : GlobalList.second) { |