llvm: update code to new API (#13500)
* llvm: update code to new API * llvm: remove OLDLLVM define
This commit is contained in:
+1
-1
@@ -1304,7 +1304,7 @@ std::string jit_compiler::cpu(const std::string& _cpu)
|
||||
|
||||
if (m_cpu.empty())
|
||||
{
|
||||
m_cpu = llvm::sys::getHostCPUName().operator std::string();
|
||||
m_cpu = llvm::sys::getHostCPUName().str();
|
||||
|
||||
if (m_cpu == "sandybridge" ||
|
||||
m_cpu == "ivybridge" ||
|
||||
|
||||
Reference in New Issue
Block a user