1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Use the container form llvm::sort(C)

llvm-svn: 345682
This commit is contained in:
Fangrui Song 2018-10-31 00:31:06 +00:00
parent 6267fbf58b
commit fe0ae144eb

View File

@ -296,7 +296,7 @@ EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
PSetE = PSetIDs.end(); PSetI != PSetE; ++PSetI) {
PSets[i].push_back(RegBank.getRegPressureSet(*PSetI).Order);
}
llvm::sort(PSets[i].begin(), PSets[i].end());
llvm::sort(PSets[i]);
PSetsSeqs.add(PSets[i]);
}