*not* Subtarget->hasSSE1()
*but* __SSE__, the flag that LLVM libraries are compiled
The callback calls internal LLVM JIT libraries. It may be built with -msse (or above).
FIXME: JIT may use "host" instead of "generic" by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206240
91177308-0d34-0410-b5e6-
96231b3b80d8
JITCompilerFunction = F;
TsanIgnoreWritesEnd();
-#if defined (X86_32_JIT) && !defined (_MSC_VER)
- if (Subtarget->hasSSE1())
- return X86CompilationCallback_SSE;
+#if defined (X86_32_JIT) && !defined (_MSC_VER) && defined(__SSE__)
+ return X86CompilationCallback_SSE;
#endif
return X86CompilationCallback;