mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
X86JITInfo: [x86] Rework r206240, X86CompilationCallback_SSE() should be called for SSE-enabled code generator, even if LLVM is not built with -msse.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5b514ed23
commit
2727dbcc37
@ -426,8 +426,14 @@ X86JITInfo::getLazyResolverFunction(JITCompilerFn F) {
|
||||
JITCompilerFunction = F;
|
||||
TsanIgnoreWritesEnd();
|
||||
|
||||
#if defined (X86_32_JIT) && !defined (_MSC_VER) && defined(__SSE__)
|
||||
#if defined (X86_32_JIT) && !defined (_MSC_VER)
|
||||
#if defined(__SSE__)
|
||||
// SSE Callback should be called for SSE-enabled LLVM.
|
||||
return X86CompilationCallback_SSE;
|
||||
#else
|
||||
if (Subtarget->hasSSE1())
|
||||
return X86CompilationCallback_SSE;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return X86CompilationCallback;
|
||||
|
Loading…
Reference in New Issue
Block a user