dlav-sc wrote: Also Large Code Model for RISCV targets has been merged 2 days ago (https://github.com/llvm/llvm-project/pull/70308), so I'm going to remove DirectCallReplacementPass and use large model in MCJIT instead. https://github.com/llvm/llvm-project/pull/99336