[llvm] [AMDGPU] Add dynamic LDS size implicit kernel argument to CO-v5 (PR #65273)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 02:29:02 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.";
----------------
skc7 wrote:
Updated to SmallString in latest commit.
https://github.com/llvm/llvm-project/pull/65273
More information about the llvm-commits
mailing list