diff options
author | Andrew Trick <atrick@apple.com> | 2013-06-24 09:13:20 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-06-24 09:13:20 +0000 |
commit | 98a9b72e8c56dc13a2617de84503a3d78352789c (patch) | |
tree | fd31bd17c5362627889925766aad73d8cdaddb32 /lib/Target | |
parent | 4ee72398a15cd7b8e217bb3d34a4e9e0e72caca1 (diff) | |
download | external_llvm-98a9b72e8c56dc13a2617de84503a3d78352789c.zip external_llvm-98a9b72e8c56dc13a2617de84503a3d78352789c.tar.gz external_llvm-98a9b72e8c56dc13a2617de84503a3d78352789c.tar.bz2 |
Temporarily enable MI-Sched on X86.
Sorry for the unit test churn. I'll try to make the change permanently
next time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86Subtarget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index 66832b9..59911ba 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -361,11 +361,14 @@ public: /// memset with zero passed as the second argument. Otherwise it /// returns null. const char *getBZeroEntry() const; - + /// This function returns true if the target has sincos() routine in its /// compiler runtime or math libraries. bool hasSinCos() const; + /// Enable the MachineScheduler pass for all X86 subtargets. + bool enableMachineScheduler() const LLVM_OVERRIDE { return true; } + /// enablePostRAScheduler - run for Atom optimization. bool enablePostRAScheduler(CodeGenOpt::Level OptLevel, TargetSubtargetInfo::AntiDepBreakMode& Mode, |