Repository navigation
Fix register conflict between freeing large stack frames and fast tailcalls on arm32 - #66588
Conversation
|
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsFreeing large stack frames on ARM32 requires a helper register, so it is natural to use This did not repro in our own test runs but I found it in a Fuzzlyn test run. cc @dotnet/jit-contrib @clamp03 PTAL @BruceForstall
|
BruceForstall
left a comment
There was a problem hiding this comment.
Thanks for adding a test!
…lcalls on arm32 (dotnet#66588) Fix dotnet#66585
Freeing large stack frames on ARM32 requires a helper register, so it is natural to use
r12which is the only volatile non-argument register available. However this register is used for fast tailcalls as well resulting in a conflict.Since we always spill
lrand it will be restored after this point in the epilog we can uselrinstead to free up the conflict. It already seemslris the primary register used as a scratch register in codegen.This did not repro in our own test runs but I found it in a Fuzzlyn test run.
Fix #66585
cc @dotnet/jit-contrib @clamp03 PTAL @BruceForstall