forked from OSchip/llvm-project
parent
483ffa3365
commit
0a9eb89cf9
|
@ -3264,7 +3264,7 @@ void BoUpSLP::scheduleBlock(BlockScheduling *BS) {
|
|||
// sorted by the original instruction location. This lets the final schedule
|
||||
// be as close as possible to the original instruction order.
|
||||
struct ScheduleDataCompare {
|
||||
bool operator()(ScheduleData *SD1, ScheduleData *SD2) {
|
||||
bool operator()(ScheduleData *SD1, ScheduleData *SD2) const {
|
||||
return SD2->SchedulingPriority < SD1->SchedulingPriority;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue