[llvm] [BOLT][RISCV] Fix conditional tail call (PR #209474)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 15 01:09:28 PDT 2026
================
@@ -328,6 +336,8 @@ class RISCVMCPlusBuilder : public MCPlusBuilder {
default:
return false;
case RISCV::C_J:
+ case RISCV::PseudoCALL:
----------------
Thrrreeee wrote:
They are not produced by disassembly, but BOLT creates them internally. `createCall()` and `createTailCall()` will creates a PseudoCALL/PseudoTAIL. These instructions remain in BOLT’s MCInst stream until the RISC-V MC emitter expands them into AUIPC/JALR.
https://github.com/llvm/llvm-project/pull/209474
More information about the llvm-commits
mailing list