[Mlir-commits] [mlir] [MLIR][ROCDL] Lower `gpu.subgroup_id` to `wavefrontsize` (PR #137360)

Alan Li llvmlistbot at llvm.org
Fri Apr 25 11:35:50 PDT 2025


================
@@ -32,6 +32,10 @@ llvm.func @rocdl_special_regs() -> i32 {
 
   // CHECK: call range(i64 1, 65) i64 @__ockl_get_local_size(i32 0)
   %14 = rocdl.workgroup.dim.x range <i32, 1, 65> : i64
+
+  // CHECK: call i32 $llvm.amdgcn.wavefrontsize()
----------------
lialan wrote:

.... I am sorry for auto complete. 

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


More information about the Mlir-commits mailing list