[llvm] [AMDGPU] Use table strategy for LowerModuleLDSPass at O0 (PR #160181)

Jon Chesterfield via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 23:13:30 PDT 2025


================
@@ -0,0 +1,264 @@
+; RUN: opt -S -mtriple=amdgcn-- -mcpu=gfx942 -amdgpu-lower-module-lds < %s 2>&1 | FileCheck %s
+; RUN: opt -S -mtriple=amdgcn-- -mcpu=gfx942 -passes=amdgpu-lower-module-lds < %s 2>&1 | FileCheck %s
+
----------------
JonChesterfield wrote:

I see the godbolt IR. In what sense is this believed to change allocated lds size?

https://github.com/llvm/llvm-project/pull/160181


More information about the llvm-commits mailing list