summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-05-11 01:26:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-05-11 01:26:06 +0000
commitf329be83942c45cc716e196d229fce8ab2e87daa (patch)
tree03ed4eda0c2614ac948887dfd1937de19f18fd1a /llvm/lib/Transforms/IPO
parent334fce92d96127994e84b75ae18a7bf471c66367 (diff)
downloadbcm5719-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.cpp2
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)) {
OpenPOWER on IntegriCloud