diff options
author | Sebastian Neubauer <sebastian.neubauer@amd.com> | 2021-05-27 18:32:42 +0200 |
---|---|---|
committer | Sebastian Neubauer <sebastian.neubauer@amd.com> | 2021-05-28 11:22:13 +0200 |
commit | 690f5b7a0128a210093e9b217932743ad35b5c5a (patch) | |
tree | 1c2c6a93957a388a52485dc1c59ac5249bf1b466 /llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp | |
parent | 6133b60a27fe0b89a96d5e10f28b2d9fd68d668f (diff) | |
download | llvm-690f5b7a0128a210093e9b217932743ad35b5c5a.zip llvm-690f5b7a0128a210093e9b217932743ad35b5c5a.tar.gz llvm-690f5b7a0128a210093e9b217932743ad35b5c5a.tar.bz2 |
[AMDGPU] Fix function calls with flat scratch
When flat scratch is used, the stack pointer needs to be added when
writing arguments to the stack.
For buffer instructions, this is done in SelectMUBUFScratchOffen
and SelectMUBUFScratchOffset.
Move that to call argument lowering, like it is done in GlobalISel.
Differential Revision: https://reviews.llvm.org/D103166
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions