forked from OSchip/llvm-project
[polly] Change std::sort to llvm::sort in response to r327219
Summary: r327219 added wrappers to std::sort which randomly shuffle the container before sorting. This will help in uncovering non-determinism caused due to undefined sorting order of objects having the same key. To make use of that infrastructure we need to invoke llvm::sort instead of std::sort. Reviewers: grosser, efriedma, jdoerfert, bollu, sebpop Reviewed By: sebpop Subscribers: sebpop, mehdi_amini, llvm-commits, pollydev Tags: #polly Differential Revision: https://reviews.llvm.org/D44361 llvm-svn: 327361
This commit is contained in:
parent
aab6000684
commit
daec0aa71f
|
@ -744,7 +744,7 @@ static void printSortedPolyhedra(isl::union_set USet, llvm::raw_ostream &OS,
|
|||
}
|
||||
|
||||
// Sort the polyhedra.
|
||||
std::sort(BSets.begin(), BSets.end(), orderComparer);
|
||||
llvm::sort(BSets.begin(), BSets.end(), orderComparer);
|
||||
|
||||
// Print the polyhedra.
|
||||
bool First = true;
|
||||
|
|
Loading…
Reference in New Issue