mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
llvm: update code to new API (#13500)
* llvm: update code to new API * llvm: remove OLDLLVM define
This commit is contained in:
parent
ec8cb1668c
commit
520524285a
6 changed files with 187 additions and 162 deletions
|
@ -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" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue