victor-eds wrote: Alternatively to the current `numBytes` approach for `llvm.mlir.workgroup_attrib_size`, we could attach a `<NumElems, Type>` tuple. WDYT? https://github.com/llvm/llvm-project/pull/101664