[PATCH] D141852: [amdgpu] Change LDS lowering default to hybrid

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 07:16:57 PST 2023


JonChesterfield created this revision.
JonChesterfield added a reviewer: arsenm.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
JonChesterfield requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Postponed from D139433 <https://reviews.llvm.org/D139433> while fixing a regalloc bug which is now fixed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141852

Files:
  llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp


Index: llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+++ llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
@@ -162,7 +162,7 @@
 cl::opt<LoweringKind> LoweringKindLoc(
     "amdgpu-lower-module-lds-strategy",
     cl::desc("Specify lowering strategy for function LDS access:"), cl::Hidden,
-    cl::init(LoweringKind::module),
+    cl::init(LoweringKind::hybrid),
     cl::values(
         clEnumValN(LoweringKind::table, "table", "Lower via table lookup"),
         clEnumValN(LoweringKind::module, "module", "Lower via module struct"),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141852.489550.patch
Type: text/x-patch
Size: 669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230116/1521491a/attachment.bin>


More information about the llvm-commits mailing list