llvm-project
c22d6a86 - [BOLT][RISCV] Mark newly created tail calls (#221672)

Commit
73 days ago
[BOLT][RISCV] Mark newly created tail calls (#221672) Tail calls created during CFG normalization lack the tail-call annotation, so FixRISCVCallsPass rewrites them as regular calls that clobber ra. Set the annotation in createTailCall(). Clear builder annotations before moving the originals when rebuilding calls to avoid duplicate annotation markers. Add a relocation-mode regression test for a conditional tail call.
Author
Parents
Loading