[llvm] r316625 - Attempt to unbreak the expensive-checks-win bot

Matthew Simpson via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 15:46:34 PDT 2017


Author: mssimpso
Date: Wed Oct 25 15:46:34 2017
New Revision: 316625

URL: http://llvm.org/viewvc/llvm-project?rev=316625&view=rev
Log:
Attempt to unbreak the expensive-checks-win bot

Modified:
    llvm/trunk/lib/Transforms/IPO/CalledValuePropagation.cpp

Modified: llvm/trunk/lib/Transforms/IPO/CalledValuePropagation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/CalledValuePropagation.cpp?rev=316625&r1=316624&r2=316625&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/CalledValuePropagation.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/CalledValuePropagation.cpp Wed Oct 25 15:46:34 2017
@@ -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));




More information about the llvm-commits mailing list