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 c0bdded1a2
commit f0031fa268
1 changed files with 1 additions and 1 deletions

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]);
}