[clang] [llvm] [mlir] [AMDGPU] Verify AMDGPU required workgroup size matches flat workgroup size (PR #200989)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 4 16:47:02 PDT 2026
================
@@ -15,21 +15,21 @@
; CHECK-DAG: OpExecutionMode %[[#ENTRY2]] LocalSize 2 3 1
; CHECK-DAG: OpExecutionMode %[[#ENTRY3]] LocalSize 3 1 1
-define spir_kernel void @test1() !reqd_work_group_size !1 {
+define spir_kernel void @test1() "amdgpu-flat-work-group-size"="6,6" !reqd_work_group_size !1 {
----------------
shiltian wrote:
Otherwise it will fail, because the IR is not valid.
https://github.com/llvm/llvm-project/pull/200989
More information about the cfe-commits
mailing list