aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commitc8ad2d2abf4ef988d7dffb687cd3366cb02c49ff (patch)
tree71cb7b93d2a1d0fa2b4485c5b84b217372303f8f /lib
parenta10b879b4cbdc95206ff37b8a75cf68f453e9255 (diff)
downloadexternal_llvm-c8ad2d2abf4ef988d7dffb687cd3366cb02c49ff.zip
external_llvm-c8ad2d2abf4ef988d7dffb687cd3366cb02c49ff.tar.gz
external_llvm-c8ad2d2abf4ef988d7dffb687cd3366cb02c49ff.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86Subtarget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index 99708e0..f74008d 100644
--- a/lib/Target/X86/X86Subtarget.cpp
+++ b/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