[mlir][spirv] Define sp.VectorShuffle
authorLei Zhang <antiagainst@google.com>
Tue, 2 Feb 2021 16:08:39 +0000 (11:08 -0500)
committerLei Zhang <antiagainst@google.com>
Tue, 2 Feb 2021 16:08:56 +0000 (11:08 -0500)
commite901188cf9e34b54db7b1c5359264549d5f5be4f
treec59f08717687c4a29ea4b9f18390b7621a6ee8f6
parentb2b35697dc5172ab1e815e08c0a2714f2a1a9330
[mlir][spirv] Define sp.VectorShuffle

This patch adds basic op definition, parser/printer, and verifier.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D95825
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCompositeOps.td
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/IR/composite-ops.mlir
mlir/test/Target/SPIRV/composite-op.mlir