llvm-project
f147d675 - [X86] Use StackArgTokenFactor for all stores when setting up tail calls. (#126244)

Commit
270 days ago
[X86] Use StackArgTokenFactor for all stores when setting up tail calls. (#126244) Before this patch, the stack argument token factor was used if any outgoing stack slots needed to be written, but not when writing the return address to a stack slot. Writing the return address stack slot can also alias a stack slot for an input argument. Always use StackArgumentTokenFactor, to ensure the store of the return address will always use it, i.e. happen after all input arguments are loaded. PR: https://github.com/llvm/llvm-project/pull/126244
Author
Parents
Loading