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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 22 22:21:47 PDT 2025


================
@@ -0,0 +1,92 @@
+; RUN: not llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 -filetype=null < %s 2>&1 | FileCheck --check-prefix=CHECK %s
+; CHECK-NOT: error: <unknown>:0:0: local memory (98304) exceeds limit (65536) in function 'k2'
----------------
arsenm wrote:

CHECK-NOT should be avoided, this should check the actual output. Not erroring is sufficient 

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


More information about the llvm-commits mailing list