[PATCH] D91516: [AMDGPU][WIP] Lower LDS Global Variables.

Mahesha S via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 23:32:07 PDT 2021


hsmhsm updated this revision to Diff 332541.
hsmhsm added a comment.
Herald added a subscriber: jfb.

Implemented a new approach based on initializing LDS globals to pointers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91516/new/

https://reviews.llvm.org/D91516

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.h
  llvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
  llvm/lib/Target/AMDGPU/AMDGPUReplaceLDSUseWithPointer.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
  llvm/lib/Target/AMDGPU/CMakeLists.txt
  llvm/lib/Target/AMDGPU/Utils/AMDGPUGeneralUtils.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUGeneralUtils.h
  llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
  llvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-non-entry-func.ll
  llvm/test/CodeGen/AMDGPU/addrspacecast-initializer-unsupported.ll
  llvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address-codegen.ll
  llvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll
  llvm/test/CodeGen/AMDGPU/lds-global-non-entry-func.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-constantexpr.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-inactive.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-indirect.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-inline-asm-call.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-used-list.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds.ll
  llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-constantexpr-use.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_report_error_no_func_def.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_direct_call_diamond_shape.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_direct_call_misc.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_ignored_lds.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_indirect_call_diamond_shape.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_indirect_call_misc.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_indirect_call_misc2.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_indirect_call_no_addr_taken.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_indirect_call_no_init.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_llvm_insts.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_types_misc.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_types_pointers.ll
  llvm/test/CodeGen/AMDGPU/replace_lds_test_types_pointers_misc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91516.332541.patch
Type: text/x-patch
Size: 111594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210323/861ffb91/attachment-0001.bin>


More information about the llvm-commits mailing list