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

Lucas Ramirez via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 28 05:06:24 PDT 2025


================
@@ -216,41 +216,30 @@ define internal i32 @bitcasted_function() {
   ret i32 0
 }
 
-define internal void @called_from_invalid_bounds_0() {
-; CHECK-LABEL: define internal void @called_from_invalid_bounds_0
-; CHECK-SAME: () #[[ATTR1]] {
-; CHECK-NEXT:    ret void
-;
+define internal void @called_without_min_waves() {
----------------
lucas-rami wrote:

I had renamed `kernel_invalid_bounds_0_8` with `called_from_invalid_bounds_1` since bounds [0,8] are no longer invalid. That's arguably a pretty non-sensical name for this and I can't remember why I picked this, so I will rename it.

> Is that expected?

Yes that is expected, though it's missing an attribute/accompanying CHECKs. Will address that as well.

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


More information about the cfe-commits mailing list