diff options
Diffstat (limited to 'lib/Target/X86/X86Subtarget.cpp')
-rw-r--r-- | lib/Target/X86/X86Subtarget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index dad95c6800..6305501a21 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -157,7 +157,8 @@ const char *X86Subtarget::getBZeroEntry() const { bool X86Subtarget::hasSinCos() const { return getTargetTriple().isMacOSX() && - !getTargetTriple().isMacOSXVersionLT(10, 9); + !getTargetTriple().isMacOSXVersionLT(10, 9) && + is64Bit(); } /// IsLegalToCallImmediateAddr - Return true if the subtarget allows calls |