diff --git a/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp b/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp --- a/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp +++ b/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp @@ -129,7 +129,7 @@ workgroupSizeAttr = DenseI32ArrayAttr::get(context, workgroupSize); } return spirv::EntryPointABIAttr::get(context, workgroupSizeAttr, - /*subgroupSize=*/llvm::None); + subgroupSize); } spirv::EntryPointABIAttr spirv::lookupEntryPointABI(Operation *op) {