diff options
author | Preston Gurd <preston.gurd@intel.com> | 2012-04-16 22:52:28 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2012-04-16 22:52:28 +0000 |
commit | f23293793aaf3a566fd000d734eb7217bb3db974 (patch) | |
tree | cacfcaf4f0b7603bb9068b452e29e7dd2ef00185 /lib | |
parent | 482f878631124a690ba2ad55586295fdff97a076 (diff) | |
download | external_llvm-f23293793aaf3a566fd000d734eb7217bb3db974.zip external_llvm-f23293793aaf3a566fd000d734eb7217bb3db974.tar.gz external_llvm-f23293793aaf3a566fd000d734eb7217bb3db974.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86Subtarget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index 452dd7e..ed1a409 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -424,7 +424,9 @@ bool X86Subtarget::enablePostRAScheduler( 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; } |