Nemanja Ivanovic 674b020196
[RISC-V] Fix outliner candidate analysis (#177126)
When analyzing outliner candidates, there is no check that the tail-call
expansion register is live across the candidate call site. That can
result in a situation where the original function sets the volatile
register and uses it in the section that gets outlined. This of course
results in the use of the register receiving the incorrect value. Namely
the address of the outlined function since that is what the tail-call
sequence placed in the register.
2026-01-26 19:47:18 +01:00
..