diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-05-11 01:26:06 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-05-11 01:26:06 +0000 |
| commit | f329be83942c45cc716e196d229fce8ab2e87daa (patch) | |
| tree | 03ed4eda0c2614ac948887dfd1937de19f18fd1a /llvm/lib/Transforms/IPO | |
| parent | 334fce92d96127994e84b75ae18a7bf471c66367 (diff) | |
| download | bcm5719-llvm-f329be83942c45cc716e196d229fce8ab2e87daa.tar.gz bcm5719-llvm-f329be83942c45cc716e196d229fce8ab2e87daa.zip | |
Delete mayBeOverridden.
It is the same as isInterposable which seems to be the preferred name.
llvm-svn: 269150
Diffstat (limited to 'llvm/lib/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/FunctionImport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionImport.cpp b/llvm/lib/Transforms/IPO/FunctionImport.cpp index 3ce3b7b841e..498ce5e3fb4 100644 --- a/llvm/lib/Transforms/IPO/FunctionImport.cpp +++ b/llvm/lib/Transforms/IPO/FunctionImport.cpp @@ -156,7 +156,7 @@ selectCallee(const ModuleSummaryIndex &Index, CalleeSummaryList, [&](const std::unique_ptr<GlobalValueSummary> &SummaryPtr) { auto *GVSummary = SummaryPtr.get(); - if (GlobalValue::isMayBeOverriddenLinkage(GVSummary->linkage())) + if (GlobalValue::isInterposableLinkage(GVSummary->linkage())) // There is no point in importing these, we can't inline them return false; if (auto *AS = dyn_cast<AliasSummary>(GVSummary)) { |

