llvm-project/mlir/unittests
Lei Zhang 3148f10b17 [mlir][spirv] Use spv.vce in spv.module and wire up (de)serialization
This commits changes the definition of spv.module to use the #spv.vce
attribute for specifying (version, capabilities, extensions) triple
so that we can have better API and custom assembly form. Since now
we have proper modelling of the triple, (de)serialization is wired up
to use them.

With the new UpdateVCEPass, we don't need to manually specify the
required extensions and capabilities anymore when creating a spv.module.
One just need to call UpdateVCEPass before serialization to get the
needed version/extensions/capabilities.

Differential Revision: https://reviews.llvm.org/D75872
2020-03-12 19:37:45 -04:00
..
ADT Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
Dialect [mlir][spirv] Use spv.vce in spv.module and wire up (de)serialization 2020-03-12 19:37:45 -04:00
IR Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
Pass Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." 2020-02-29 11:52:08 -08:00
Quantizer/Support Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
SDBM Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." 2020-02-29 11:52:08 -08:00
Support Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
TableGen Support OptionalAttr inside a StructAttr 2020-02-19 12:47:04 +00:00
CMakeLists.txt [mlir] Fix indexed_accessor_range to properly forward the derived class. 2020-01-03 13:30:18 -08:00