diff options
Diffstat (limited to 'llvm/lib/Target')
| -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 21c2d573dc7..fb357c46756 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -383,11 +383,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, | 

