[PATCH] D144221: [amdgpu][nfc] Replace ad hoc LDS frame recalculation with absolute_symbol MD
Jon Chesterfield via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 16 14:46:37 PST 2023
JonChesterfield created this revision.
JonChesterfield added reviewers: arsenm, rampitec, foad.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
JonChesterfield requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Post ISel, LDS variables are absolute values. Representing them as
such is simpler than the frame recalculation currently used to build assembler
tables from their addresses.
This is a precursor to lowering dynamic/external LDS accesses from non-kernel
functions. Machine function instances are not available in MCInstLower. The
metadata written on global variables does last until MC. No test changes as no
observable behaviour change.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144221
Files:
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144221.498146.patch
Type: text/x-patch
Size: 8794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230216/d32c33b3/attachment.bin>
More information about the llvm-commits
mailing list