[llvm] [AMDGPU] getMaxLocalMemSizeWithWaveCount: Align to LDS granularity (PR #219172)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 06:08:43 PDT 2026


================
@@ -0,0 +1,37 @@
+; RUN: opt -S -mtriple=amdgpu9.50-amd-amdhsa -passes=amdgpu-promote-alloca -disable-promote-alloca-to-vector < %s | FileCheck %s
+
+ at lds_12800 = internal addrspace(3) global [12800 x i8] poison, align 16
+attributes #0 = { "amdgpu-flat-work-group-size"="64,64" }
----------------
arsenm wrote:

Keep the attributes in the normal position 

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


More information about the llvm-commits mailing list