We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cb3641 + 6661554 commit f3327fbCopy full SHA for f3327fb
lib/SILOptimizer/Analysis/LoopRegionAnalysis.cpp
@@ -871,7 +871,7 @@ void LoopRegionFunctionInfo::print(raw_ostream &os) const {
871
auto ExitingSubRegs = R->getExitingSubregions();
872
std::copy(ExitingSubRegs.begin(), ExitingSubRegs.end(),
873
std::back_inserter(ExitingSubregions));
874
- std::sort(ExitingSubregions.begin(), ExitingSubregions.begin());
+ std::sort(ExitingSubregions.begin(), ExitingSubregions.end());
875
for (unsigned SubregionID : ExitingSubregions) {
876
os << "\n ";
877
LoopRegion *Subregion = getRegion(SubregionID);
0 commit comments