mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
SPU/PPU LLVM: fix triple setup (regression fix) (#12228)
This commit is contained in:
parent
5378fee1c3
commit
c2190f71ca
3 changed files with 4 additions and 5 deletions
|
@ -871,7 +871,6 @@ jit_compiler::jit_compiler(const std::unordered_map<std::string, u64>& _link, co
|
|||
std::string result;
|
||||
|
||||
auto null_mod = std::make_unique<llvm::Module> ("null_", *m_context);
|
||||
null_mod->setTargetTriple(utils::c_llvm_default_triple);
|
||||
|
||||
if (_link.empty())
|
||||
{
|
||||
|
@ -884,7 +883,7 @@ jit_compiler::jit_compiler(const std::unordered_map<std::string, u64>& _link, co
|
|||
else
|
||||
{
|
||||
mem = std::make_unique<MemoryManager2>();
|
||||
null_mod->setTargetTriple(utils::c_llvm_default_triple);
|
||||
null_mod->setTargetTriple(llvm::Triple::normalize(utils::c_llvm_default_triple));
|
||||
}
|
||||
|
||||
// Auxiliary JIT (does not use custom memory manager, only writes the objects)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue