In SPIR-V, symbol names are encoded as OpName instructions.
They are not semantic impacting and can be omitted, which can
reduce the binary size.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D115531
[mlir][spirv] Add serialization control to emit symbol name ClosedPublic Authored by antiagainst on Dec 10 2021, 8:52 AM.
Details Summary In SPIR-V, symbol names are encoded as OpName instructions.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 10 2021, 9:00 AM Closed by commit rGb289266cb239: [mlir][spirv] Add serialization control to emit symbol name (authored by antiagainst). · Explain WhyDec 10 2021, 4:21 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 393624 mlir/include/mlir/Target/SPIRV/SPIRVBinaryUtils.h
mlir/include/mlir/Target/SPIRV/Serialization.h
mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
mlir/lib/Target/SPIRV/Deserialization/Deserializer.h
mlir/lib/Target/SPIRV/Serialization/Serialization.cpp
mlir/lib/Target/SPIRV/Serialization/Serializer.h
mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
mlir/lib/Target/SPIRV/TranslateRegistration.cpp
mlir/unittests/Dialect/SPIRV/SerializationTest.cpp
|