[PATCH] D138141: [amdgpu] Reimplement LDS lowering
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 02:33:55 PST 2022
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp:491
+ static Constant *getAddressesOfVariablesInKernel(
+ LLVMContext &Ctx, std::vector<GlobalVariable *> Variables,
+ DenseMap<GlobalVariable *, Constant *> &LDSVarsToConstantGEP) {
----------------
jmmartinez wrote:
> Is there a missing const& for the Variables argument ?
Isn't `std::vector<GlobalVariable *> const &` is just a long way of saying `ArrayRef<GlobalVariable *>`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138141/new/
https://reviews.llvm.org/D138141
More information about the llvm-commits
mailing list