-
-
Notifications
You must be signed in to change notification settings - Fork 2k
llvm: fix deprecation warnings #16847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
get_type<u8*>(), // Exec base | ||
m_ir->getPtrTy(), // PPU context | ||
get_type<u64>(), // Segment address (for PRX) | ||
get_type<u8*>(), // Memory base | ||
get_type<u64>(), // r0 | ||
get_type<u64>(), // r1 | ||
get_type<u64>(), // r2 | ||
}, | ||
false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert any format changes here
translator.get_type<u8*>(), // Exec base | ||
PointerType::get(jit.get_context(), 0), // PPU context | ||
translator.get_type<u64>(), // Segment address (for PRX) | ||
translator.get_type<u8*>(), // Memory base | ||
translator.get_type<u64>(), // r0 | ||
translator.get_type<u64>(), // r1 | ||
translator.get_type<u64>(), // r2 | ||
}, | ||
false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert any format changes here
#define BUILD_VEC_INST(i) \ | ||
{ \ | ||
m_function = llvm::cast<llvm::Function>(m_module->getOrInsertFunction("op_" #i, get_type<void>(), m_ir->getPtrTy()).getCallee()); \ | ||
std::fill(std::begin(m_globals), std::end(m_globals), nullptr); \ | ||
std::fill(std::begin(m_locals), std::end(m_locals), nullptr); \ | ||
IRBuilder<> irb(BasicBlock::Create(m_context, "__entry", m_function)); \ | ||
m_ir = &irb; \ | ||
m_thread = m_function->getArg(0); \ | ||
ppu_opcode_t op{}; \ | ||
op.vd = 0; \ | ||
op.va = 1; \ | ||
op.vb = 2; \ | ||
op.vc = 3; \ | ||
this->i(op); \ | ||
FlushRegisters(); \ | ||
m_ir->CreateRetVoid(); \ | ||
run_transforms(*m_function); \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert any format changes here
MSYS2 has update Clang and LLVM to v20.