diff options
author | Billy Laws <blaws05@gmail.com> | 2024-01-31 02:32:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 18:32:15 -0800 |
commit | c761b4a5e4cc003a2c850898e1dc67d2637cfb0c (patch) | |
tree | 7bc0587c4400b8adcd11c8eb0b3d97cc9c42dd7e /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | b4d832c77dcba4136132559a5183883cf064389d (diff) | |
download | llvm-c761b4a5e4cc003a2c850898e1dc67d2637cfb0c.zip llvm-c761b4a5e4cc003a2c850898e1dc67d2637cfb0c.tar.gz llvm-c761b4a5e4cc003a2c850898e1dc67d2637cfb0c.tar.bz2 |
[AArch64] Fix variadic tail-calls on ARM64EC (#79774)
ARM64EC varargs calls expect that x4 = sp at entry, special handling is
needed to ensure this with tail calls since they occur after the
epilogue and the x4 write happens before.
I tried going through AArch64MachineFrameLowering for this, hoping to
avoid creating the dummy object but this was the best I could do since
the stack info that uses isn't populated at this stage,
CreateFixedObject also explicitly forbids 0 sized objects.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions