diff options
author | Florian Hahn <flo@fhahn.com> | 2025-02-10 20:01:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-10 20:01:14 +0000 |
commit | f147d67524d734212eb36f01db453606f70bece5 (patch) | |
tree | f00e1f79cf7e47f3821993a361c2618ff654d31d /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | d7fd2a2a3befe451d3cc70612a40e8c90a780caf (diff) | |
download | llvm-f147d67524d734212eb36f01db453606f70bece5.zip llvm-f147d67524d734212eb36f01db453606f70bece5.tar.gz llvm-f147d67524d734212eb36f01db453606f70bece5.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions