summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2017-10-25 22:46:34 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2017-10-25 22:46:34 +0000
commit99f57933badf39d974c9e8eba593247f4c33ee94 (patch)
tree9b99bf2798681da9839e911a452dacbda146dd94
parentb8a59c8aa5ff25aa21a64169c1870d988401cd53 (diff)
downloadbcm5719-llvm-99f57933badf39d974c9e8eba593247f4c33ee94.tar.gz
bcm5719-llvm-99f57933badf39d974c9e8eba593247f4c33ee94.zip
Attempt to unbreak the expensive-checks-win bot
llvm-svn: 316625
-rw-r--r--llvm/lib/Transforms/IPO/CalledValuePropagation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/CalledValuePropagation.cpp b/llvm/lib/Transforms/IPO/CalledValuePropagation.cpp
index 2d2701c5899..c5f6336aa2b 100644
--- a/llvm/lib/Transforms/IPO/CalledValuePropagation.cpp
+++ b/llvm/lib/Transforms/IPO/CalledValuePropagation.cpp
@@ -153,7 +153,8 @@ public:
std::set<Function *, CVPLatticeVal::Compare> Union;
std::set_union(X.getFunctions().begin(), X.getFunctions().end(),
Y.getFunctions().begin(), Y.getFunctions().end(),
- std::inserter(Union, Union.begin()));
+ std::inserter(Union, Union.begin()),
+ CVPLatticeVal::Compare{});
if (Union.size() > MaxFunctionsPerValue)
return getOverdefinedVal();
return CVPLatticeVal(std::move(Union));
OpenPOWER on IntegriCloud