[PATCH] D122091: [amdgpu] Elide module lds allocation in kernels with no callees

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 11:05:47 PDT 2022


JonChesterfield updated this revision to Diff 427069.
JonChesterfield added a comment.

- Module->function, skip caching the attribute


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122091

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
  llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
  llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/lower-kernel-and-module-lds.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-constantexpr.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds-offsets.ll
  llvm/test/CodeGen/AMDGPU/lower-module-lds.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122091.427069.patch
Type: text/x-patch
Size: 13059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220504/07b36188/attachment.bin>


More information about the llvm-commits mailing list