[llvm] [AMDGPU] Fix LDS reporting for targets without CU mode (PR #223587)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 20:14:23 PDT 2026


================
@@ -15,6 +15,11 @@
 ; RUN: not llc -mtriple=amdgpu7.00-amd-amdhsa -filetype=null %s 2>&1 | FileCheck -check-prefix=ERROR-LIMIT64K %s
 ; RUN: not llc -mtriple=amdgpu6.00-amd-amdpal -filetype=null %s 2>&1 | FileCheck -check-prefix=ERROR-LIMIT32K %s
 
+; Pre-gfx10 has no WGP mode, so +cumode must not change the limit.
----------------
shiltian wrote:

Yeah, I actually wondered what kind of mode before gfx10? How many SIMDs does a target support?

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


More information about the llvm-commits mailing list