Temporarily turn off anti-dependency checking
during Post RA scheduling in X86, until the X86 target is changed to properly set up post RA liveness. llvm-svn: 154874
This commit is contained in:
parent
17dddd21f5
commit
5333e2e5ce
|
@ -424,7 +424,9 @@ bool X86Subtarget::enablePostRAScheduler(
|
||||||
CodeGenOpt::Level OptLevel,
|
CodeGenOpt::Level OptLevel,
|
||||||
TargetSubtargetInfo::AntiDepBreakMode& Mode,
|
TargetSubtargetInfo::AntiDepBreakMode& Mode,
|
||||||
RegClassVector& CriticalPathRCs) const {
|
RegClassVector& CriticalPathRCs) const {
|
||||||
Mode = TargetSubtargetInfo::ANTIDEP_CRITICAL;
|
//TODO: change back to ANTIDEP_CRITICAL when the
|
||||||
|
// X86 subtarget properly sets up post RA liveness.
|
||||||
|
Mode = TargetSubtargetInfo::ANTIDEP_NONE;
|
||||||
CriticalPathRCs.clear();
|
CriticalPathRCs.clear();
|
||||||
return PostRAScheduler && OptLevel >= CodeGenOpt::Default;
|
return PostRAScheduler && OptLevel >= CodeGenOpt::Default;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue