diff options
author | ergawy <kareem.ergawy@gmail.com> | 2020-10-02 14:56:17 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2020-10-02 15:18:16 -0400 |
commit | 0c8f9b8099fd0500cd885bc699924e20371014ff (patch) | |
tree | 0b793a8f8aec38022c1fcb6a0fe84dca752523d9 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp | |
parent | 870827f65222ebb1a9701d4d0e916f315dc692a8 (diff) | |
download | llvm-0c8f9b8099fd0500cd885bc699924e20371014ff.zip llvm-0c8f9b8099fd0500cd885bc699924e20371014ff.tar.gz llvm-0c8f9b8099fd0500cd885bc699924e20371014ff.tar.bz2 |
[MLIR][SPIRV] Add initial support for OpSpecConstantComposite.
This commit adds support to SPIR-V's composite specialization constants.
These are specialization constants which are composed of other spec
constants (whehter scalar or composite), regular constatns, or undef
values.
This commit adds support for parsing, printing, verification, and
(De)serialization.
A few TODOs are still in order:
- Supporting more types of constituents; currently, only scalar spec constatns are supported.
- Extending `spv._reference_of` to support composite spec constatns.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D88568
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions