forked from OSchip/llvm-project
Disable the PPC hazard recognizer. It currently only supports
top-down scheduling and top-down scheduling is going away. llvm-svn: 142621
This commit is contained in:
parent
90fb55237b
commit
000e2add18
|
@ -57,10 +57,16 @@ ScheduleHazardRecognizer *PPCInstrInfo::CreateTargetHazardRecognizer(
|
||||||
unsigned Directive = TM->getSubtarget<PPCSubtarget>().getDarwinDirective();
|
unsigned Directive = TM->getSubtarget<PPCSubtarget>().getDarwinDirective();
|
||||||
if (Directive == PPC::DIR_440) {
|
if (Directive == PPC::DIR_440) {
|
||||||
const InstrItineraryData *II = TM->getInstrItineraryData();
|
const InstrItineraryData *II = TM->getInstrItineraryData();
|
||||||
return new PPCHazardRecognizer440(II, DAG);
|
// Disable the hazard recognizer for now, as it doesn't support
|
||||||
|
// bottom-up scheduling.
|
||||||
|
//return new PPCHazardRecognizer440(II, DAG);
|
||||||
|
return new ScheduleHazardRecognizer();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return new PPCHazardRecognizer970(*TII);
|
// Disable the hazard recognizer for now, as it doesn't support
|
||||||
|
// bottom-up scheduling.
|
||||||
|
//return new PPCHazardRecognizer970(*TII);
|
||||||
|
return new ScheduleHazardRecognizer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue