[Mlir-commits] [mlir] da5903e - [mlir][spirv] Fix missing parameter usage
Lei Zhang
llvmlistbot at llvm.org
Wed Nov 30 21:05:45 PST 2022
Author: Lei Zhang
Date: 2022-12-01T05:05:16Z
New Revision: da5903eb69c1f4ce850d039c85930f9425155a5e
URL: https://github.com/llvm/llvm-project/commit/da5903eb69c1f4ce850d039c85930f9425155a5e
DIFF: https://github.com/llvm/llvm-project/commit/da5903eb69c1f4ce850d039c85930f9425155a5e.diff
LOG: [mlir][spirv] Fix missing parameter usage
This was accidentially removed during refactoring.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D139071
Added:
Modified:
mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp b/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
index 73a167c11562..ef13a57fcdac 100644
--- a/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
+++ b/mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
@@ -129,7 +129,7 @@ spirv::getEntryPointABIAttr(MLIRContext *context,
workgroupSizeAttr = DenseI32ArrayAttr::get(context, workgroupSize);
}
return spirv::EntryPointABIAttr::get(context, workgroupSizeAttr,
- /*subgroupSize=*/llvm::None);
+ subgroupSize);
}
spirv::EntryPointABIAttr spirv::lookupEntryPointABI(Operation *op) {
More information about the Mlir-commits
mailing list