forked from OSchip/llvm-project
parent
6477b7762b
commit
40415eeb59
llvm/lib/Analysis
|
@ -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