Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 052d11c

Browse files
committed
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
1 parent c2c0420 commit 052d11c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Transforms/IPO/CalledValuePropagation.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ class CVPLatticeFunc
153153
std::set<Function *, CVPLatticeVal::Compare> Union;
154154
std::set_union(X.getFunctions().begin(), X.getFunctions().end(),
155155
Y.getFunctions().begin(), Y.getFunctions().end(),
156-
std::inserter(Union, Union.begin()));
156+
std::inserter(Union, Union.begin()),
157+
CVPLatticeVal::Compare{});
157158
if (Union.size() > MaxFunctionsPerValue)
158159
return getOverdefinedVal();
159160
return CVPLatticeVal(std::move(Union));

0 commit comments

Comments
 (0)