[llvm-commits] [llvm] r154874 - /llvm/trunk/lib/Target/X86/X86Subtarget.cpp
Preston Gurd
preston.gurd at intel.com
Mon Apr 16 15:52:28 PDT 2012
Author: pgurd
Date: Mon Apr 16 17:52:28 2012
New Revision: 154874
URL: http://llvm.org/viewvc/llvm-project?rev=154874&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.cpp
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.cpp?rev=154874&r1=154873&r2=154874&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.cpp Mon Apr 16 17:52:28 2012
@@ -424,7 +424,9 @@
CodeGenOpt::Level OptLevel,
TargetSubtargetInfo::AntiDepBreakMode& Mode,
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();
return PostRAScheduler && OptLevel >= CodeGenOpt::Default;
}
More information about the llvm-commits
mailing list