[PATCH] D102882: [AMDGPU] Fix module LDS selection
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 20 15:43:14 PDT 2021
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp:67
if (isModuleEntryFunction()) {
- GlobalVariable *GV = M->getGlobalVariable("llvm.amdgcn.module.lds");
+ GlobalVariable *GV = M->getGlobalVariable("llvm.amdgcn.module.lds", true);
if (GV) {
----------------
getNamedGlobal?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102882/new/
https://reviews.llvm.org/D102882
More information about the llvm-commits
mailing list