mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 17:11:44 +03:00
Only enforce SSSE3 (with -O) for LLVM 7.x (#3045)
Looks like that regression has been fixed for LLVM 8.
This commit is contained in:
parent
8f81d0797b
commit
c81a0c94e5
1 changed files with 2 additions and 2 deletions
|
@ -402,8 +402,8 @@ createTargetMachine(const std::string targetTriple, const std::string arch,
|
|||
features.push_back("+cx16");
|
||||
}
|
||||
|
||||
#if LDC_LLVM_VER >= 700
|
||||
// FIXME: https://bugs.llvm.org/show_bug.cgi?id=38289
|
||||
#if LDC_LLVM_VER >= 700 && LDC_LLVM_VER < 800
|
||||
// https://bugs.llvm.org/show_bug.cgi?id=38289
|
||||
if (isOptimizationEnabled() && (cpu == "x86-64" || cpu == "i686") &&
|
||||
!hasFeature("ssse3")) {
|
||||
features.push_back("+ssse3");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue