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:
Preston Gurd 2012-04-16 22:52:28 +00:00
parent 17dddd21f5
commit 5333e2e5ce
1 changed files with 3 additions and 1 deletions

View File

@ -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;
} }