[clang] [llvm] [AMDGPU][Clang] Allow amdgpu-waves-per-eu attribute to lower target occupancy range (PR #138284)

Lucas Ramirez via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 27 11:27:45 PDT 2025


================
@@ -0,0 +1,40 @@
+; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
+
+target triple = "amdgcn-amd-amdhsa"
+
+define void @valid_amdgpu_waves_per_eu_range() "amdgpu-waves-per-eu"="2,4" {
+  ret void
+}
----------------
lucas-rami wrote:

Will keep that in mind, thanks.

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


More information about the llvm-commits mailing list