[polly] r351502 - [polly] Change to range-based invocation of llvm::sort
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 17 17:06:46 PST 2019
Author: mgrang
Date: Thu Jan 17 17:06:46 2019
New Revision: 351502
URL: http://llvm.org/viewvc/llvm-project?rev=351502&view=rev
Log:
[polly] Change to range-based invocation of llvm::sort
Modified:
polly/trunk/lib/Support/ISLTools.cpp
Modified: polly/trunk/lib/Support/ISLTools.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/ISLTools.cpp?rev=351502&r1=351501&r2=351502&view=diff
==============================================================================
--- polly/trunk/lib/Support/ISLTools.cpp (original)
+++ polly/trunk/lib/Support/ISLTools.cpp Thu Jan 17 17:06:46 2019
@@ -719,7 +719,7 @@ static void printSortedPolyhedra(isl::un
}
// Sort the polyhedra.
- llvm::sort(BSets.begin(), BSets.end(), orderComparer);
+ llvm::sort(BSets, orderComparer);
// Print the polyhedra.
bool First = true;
More information about the llvm-commits
mailing list