x64: spill .rdi to stack if expecting return value saved on stack
Since .rdi is not part of the callee saved registers, it needs to be
proactively spilled to the stack so that we don't clobber the
return address where to save the return value.
376d0878ecJakub Konka committed on 3/29/2022, 10:37:42 PMparentd447cd9