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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 11:29:18 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h:60
+  // This kernel calls no functions that require the module lds struct
+  bool CanElideModuleLDS = false;
+
----------------
Probably not much value in caching this in MFI


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122091



More information about the llvm-commits mailing list