forked from OSchip/llvm-project
c6cfebf1af
For ops in SPIR-V dialect that are a direct mirror of SPIR-V operations, the serialization/deserialization methods can be automatically generated from the Op specification. To enable this an 'autogenSerialization' field is added to SPV_Ops. When set to non-zero, this will enable the automatic (de)serialization function generation Also adding tests that verify the spv.Load, spv.Store and spv.Variable ops are serialized and deserialized correctly. To fully support these tests also add serialization and deserialization of float types and spv.ptr types PiperOrigin-RevId: 258684764 |
||
---|---|---|
.. | ||
Serialization | ||
ops.mlir | ||
standard_ops_to_spirv.mlir | ||
structure-ops.mlir | ||
types.mlir |