summaryrefslogtreecommitdiff
path: root/mlir/lib/Target/SPIRV/Serialization/Serializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Target/SPIRV/Serialization/Serializer.h')
-rw-r--r--mlir/lib/Target/SPIRV/Serialization/Serializer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/lib/Target/SPIRV/Serialization/Serializer.h b/mlir/lib/Target/SPIRV/Serialization/Serializer.h
index 69d9461cd9c1..a338111fd2f2 100644
--- a/mlir/lib/Target/SPIRV/Serialization/Serializer.h
+++ b/mlir/lib/Target/SPIRV/Serialization/Serializer.h
@@ -297,7 +297,8 @@ private:
/// Serializes an operation in the SPIR-V dialect that is a mirror of an
/// instruction in the SPIR-V spec. This is auto generated if hasOpcode == 1
/// and autogenSerialization == 1 in ODS.
- template <typename OpTy> LogicalResult processOp(OpTy op) {
+ template <typename OpTy>
+ LogicalResult processOp(OpTy op) {
return op.emitError("unsupported op serialization");
}