llvm-project
0cae5772 - [BOLT][RISCV] Use relaxable tail calls for entry patches (#245950)

Commit
13 hours ago
[BOLT][RISCV] Use relaxable tail calls for entry patches (#245950) The AUIPC/ADDI/JALR entry patch needs 12 bytes and clobbers t0, which can hold the return address as the alternate link register. Emit `PseudoTAIL` to fit the trampoline in eight bytes and preserve t0. JITLink can relax the AUIPC/JALR pair to a direct jump for nearby targets.
Author
Parents
Loading