From: Matthew Simpson Date: Wed, 25 Oct 2017 22:46:34 +0000 (+0000) Subject: Attempt to unbreak the expensive-checks-win bot X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=052d11cee69e6265f76f4b3f80665eef4db4b52b;p=llvm Attempt to unbreak the expensive-checks-win bot git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316625 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/CalledValuePropagation.cpp b/lib/Transforms/IPO/CalledValuePropagation.cpp index 2d2701c5899..c5f6336aa2b 100644 --- a/lib/Transforms/IPO/CalledValuePropagation.cpp +++ b/lib/Transforms/IPO/CalledValuePropagation.cpp @@ -153,7 +153,8 @@ public: std::set 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));