[llvm] [AMDGPU] Add dynamic LDS size implicit kernel argument to CO-v5 (PR #65273)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 02:09:05 PST 2024
================
@@ -19,6 +19,26 @@
using namespace llvm;
+static const GlobalVariable *
+getKernelDynLDSGlobalFromFunction(const Function &F) {
+ const Module *M = F.getParent();
+ std::string KernelDynLDSName = "llvm.amdgcn.";
----------------
arsenm wrote:
SmallString
https://github.com/llvm/llvm-project/pull/65273
More information about the llvm-commits
mailing list