llvm.org GIT mirror llvm / f232937
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154874 91177308-0d34-0410-b5e6-96231b3b80d8 Preston Gurd 8 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
423423 CodeGenOpt::Level OptLevel,
424424 TargetSubtargetInfo::AntiDepBreakMode& Mode,
425425 RegClassVector& CriticalPathRCs) const {
426 Mode = TargetSubtargetInfo::ANTIDEP_CRITICAL;
426 //TODO: change back to ANTIDEP_CRITICAL when the
427 // X86 subtarget properly sets up post RA liveness.
428 Mode = TargetSubtargetInfo::ANTIDEP_NONE;
427429 CriticalPathRCs.clear();
428430 return PostRAScheduler && OptLevel >= CodeGenOpt::Default;
429431 }