summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86Subtarget.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-01-25 20:21:24 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-01-25 20:21:24 +0000
commit97be2f5840f8e0d208b29a65adaeb51e5206e71e (patch)
tree920ff8919445b33e8f0fafc4eae217da2a0650ec /llvm/lib/Target/X86/X86Subtarget.cpp
parent72b597d6b6ae7106889b3ff6916d64963477fb45 (diff)
downloadbcm5719-llvm-97be2f5840f8e0d208b29a65adaeb51e5206e71e.tar.gz
bcm5719-llvm-97be2f5840f8e0d208b29a65adaeb51e5206e71e.zip
revert this patch for now, because Codegen does still want to generate SSE code,
for example in the case of va-args. XFAIL associated tests. llvm-svn: 62972
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.cpp')
-rw-r--r--llvm/lib/Target/X86/X86Subtarget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.cpp b/llvm/lib/Target/X86/X86Subtarget.cpp
index 99708e04cf9..f74008d4588 100644
--- a/llvm/lib/Target/X86/X86Subtarget.cpp
+++ b/llvm/lib/Target/X86/X86Subtarget.cpp
@@ -331,6 +331,10 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS, bool is64Bit)
// are enabled. These are available on all x86-64 CPUs.
if (Is64Bit) {
HasX86_64 = true;
++#if 1
+ if (X86SSELevel < SSE2)
+ X86SSELevel = SSE2;
++#endif
}
DOUT << "Subtarget features: SSELevel " << X86SSELevel
<< ", 3DNowLevel " << X863DNowLevel
OpenPOWER on IntegriCloud