summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Dialect/SPIRV/Serialization/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* [mlir][spirv] Fix ADDITIONAL_HEADER_DIRS for SPIR-V librariesLei Zhang2020-01-031-1/+1
| | | | | | | | SPIRV/ headers live under mlir/Dialect/. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D72141
* Register a -test-spirv-roundtrip hook to mlir-translateLei Zhang2019-09-171-2/+1
| | | | | | | | | | This CL registers a new mlir-translate hook, -test-spirv-roundtrip, for testing SPIR-V serialization and deserialization round-trip. This CL also moves the existing -serialize-spirv and -deserialize-spirv hooks to one source file. PiperOrigin-RevId: 269659528
* [spirv] Add basic infrastructure for negative deserializer testsLei Zhang2019-07-301-0/+1
| | | | | | | | | | | | | We are relying on serializer to construct positive cases to drive the test for deserializer. This leaves negative cases untested. This CL adds a basic test fixture for covering the negative corner cases to enforce a more robust deserializer. Refactored common SPIR-V building methods out of serializer to share it with the deserialization test. PiperOrigin-RevId: 260742733
* NFC: Move SPIR-V dialect to Dialect/ subdirectoryLei Zhang2019-07-161-0/+17
PiperOrigin-RevId: 258345603
OpenPOWER on IntegriCloud