In r345197 ESP and RSP were added to GR32_TC/GR64_TC, allowing them to
be used for tail calls, but this also caused findDeadCallerSavedReg to
think they were acceptable targets for clobbering. Filter them out.
Fixes PR40289.
Differential D56617
[X86] Avoid clobbering ESP/RSP in the epilogue. goffrie on Jan 11 2019, 12:06 PM. Authored by
Details In r345197 ESP and RSP were added to GR32_TC/GR64_TC, allowing them to Fixes PR40289.
Diff Detail
Event TimelineComment Actions Thanks for the report and patch! Looks good. Do you need someone to commit this?
|