]> granicus.if.org Git - llvm/commitdiff
Attempt to unbreak the expensive-checks-win bot
authorMatthew Simpson <mssimpso@codeaurora.org>
Wed, 25 Oct 2017 22:46:34 +0000 (22:46 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Wed, 25 Oct 2017 22:46:34 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316625 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/CalledValuePropagation.cpp

index 2d2701c5899441e7904e83ebedfed39f26f6dad6..c5f6336aa2be37c1e767b700c6df1694231a6373 100644 (file)
@@ -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));