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 | 5a1e0af83865667cd3381cb4a13c08176c15f7d3 (patch) | |
tree | 0c2e2278ddc125c2f9268baeee5901b1e8254afb /llvm/lib | |
parent | b8cd986b5d8f7970f0b632c94c171a4e22f299fe (diff) | |
download | bcm5719-llvm-5a1e0af83865667cd3381cb4a13c08176c15f7d3.tar.gz bcm5719-llvm-5a1e0af83865667cd3381cb4a13c08176c15f7d3.zip |
Temporarily enable MI-Sched on X86.
Sorry for the unit test churn. I'll try to make the change permanently
next time.
llvm-svn: 184705
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index 66832b989be..59911ba656a 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/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, |