summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86Subtarget.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-06-24 09:13:20 +0000
committerAndrew Trick <atrick@apple.com>2013-06-24 09:13:20 +0000
commit98a9b72e8c56dc13a2617de84503a3d78352789c (patch)
treefd31bd17c5362627889925766aad73d8cdaddb32 /lib/Target/X86/X86Subtarget.h
parent4ee72398a15cd7b8e217bb3d34a4e9e0e72caca1 (diff)
downloadllvm-98a9b72e8c56dc13a2617de84503a3d78352789c.tar.gz
llvm-98a9b72e8c56dc13a2617de84503a3d78352789c.tar.bz2
llvm-98a9b72e8c56dc13a2617de84503a3d78352789c.tar.xz
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/X86/X86Subtarget.h')
-rw-r--r--lib/Target/X86/X86Subtarget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index 66832b989b..59911ba656 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,