LLVM: add workaround for cascadelake CPU

Need to investigate it later.
This commit is contained in:
Nekotekina 2019-12-13 02:11:21 +03:00
parent 69e81da57b
commit dbece4d00f

View File

@ -982,6 +982,10 @@ std::string jit_compiler::cpu(const std::string& _cpu)
{
m_cpu = "skylake";
}
else
{
m_cpu = "skylake-avx512";
}
}
if (m_cpu == "znver1" && utils::has_clwb())