File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -825,14 +825,13 @@ void ShrinkWrapping::computeSaveLocations() {
825
825
if (!CSA.CalleeSaved [I])
826
826
continue ;
827
827
828
- std::stable_sort (BestSavePos[I].begin (), BestSavePos[I].end (),
829
- [&](const MCInst *A, const MCInst *B) {
830
- const BinaryBasicBlock *BBA = InsnToBB[A];
831
- const BinaryBasicBlock *BBB = InsnToBB[B];
832
- const uint64_t CountA = BBA->getKnownExecutionCount ();
833
- const uint64_t CountB = BBB->getKnownExecutionCount ();
834
- return CountB < CountA;
835
- });
828
+ llvm::stable_sort (BestSavePos[I], [&](const MCInst *A, const MCInst *B) {
829
+ const BinaryBasicBlock *BBA = InsnToBB[A];
830
+ const BinaryBasicBlock *BBB = InsnToBB[B];
831
+ const uint64_t CountA = BBA->getKnownExecutionCount ();
832
+ const uint64_t CountB = BBB->getKnownExecutionCount ();
833
+ return CountB < CountA;
834
+ });
836
835
837
836
for (MCInst *Pos : BestSavePos[I]) {
838
837
const BinaryBasicBlock *BB = InsnToBB[Pos];
You can’t perform that action at this time.
0 commit comments