mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-05 19:29:01 +00:00
Use array_pod_sort instead of std::sort
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98dab84b5c
commit
23430d8ce1
@ -9642,7 +9642,7 @@ void ScalarEvolution::findArrayDimensions(SmallVectorImpl<const SCEV *> &Terms,
|
||||
});
|
||||
|
||||
// Remove duplicates.
|
||||
std::sort(Terms.begin(), Terms.end());
|
||||
array_pod_sort(Terms.begin(), Terms.end());
|
||||
Terms.erase(std::unique(Terms.begin(), Terms.end()), Terms.end());
|
||||
|
||||
// Put larger terms first.
|
||||
|
Loading…
Reference in New Issue
Block a user