llvm-project/mlir/test/Dialect
aartbik 19dbb230a2 [mlir] [VectorOps] Add scatter/gather operations to Vector dialect
Introduces the scatter/gather operations to the Vector dialect
(important memory operations for sparse computations), together
with a first reference implementation that lowers to the LLVM IR
dialect to enable running on CPU (and other targets that support
the corresponding LLVM IR intrinsics).

The operations can be used directly where applicable, or can be used
during progressively lowering to bring other memory operations closer to
hardware ISA support for a gather/scatter. The semantics of the operation
closely correspond to those of the corresponding llvm intrinsics.

Note that the operation allows for a dynamic index vector (which is
important for sparse computations). However, this first reference
lowering implementation "serializes" the address computation when
base + index_vector is converted to a vector of pointers. Exploring
how to use SIMD properly during these step is TBD. More general
memrefs and idiomatic versions of striding are also TBD.

Reviewed By: arpith-jacob

Differential Revision: https://reviews.llvm.org/D84039
2020-07-21 10:57:40 -07:00
..
AVX512 [mlir][AVX512] Start a primitive AVX512 dialect 2020-03-20 14:11:57 -04:00
Affine [mlir] Support operations with multiple results in slicing 2020-07-13 13:24:27 -07:00
GPU [MLIR][Standard] Make the `dim` operation index an operand. 2020-06-10 13:54:47 +00:00
LLVMIR [mlir] LLVM dialect: use addressof instead of constant to create function pointers 2020-06-29 12:21:33 +02:00
Linalg [mlir] Added support for symbols inside linalg.generic and map concatenation 2020-07-20 19:20:47 +02:00
OpenMP [mlir][OpenMP] Add custom parser and pretty printer for parallel construct 2020-06-16 13:35:42 +01:00
Quant Enable FileCheck -enable-var-scope by default in MLIR test 2020-06-12 00:43:09 +00:00
SCF [MLIR] Add type checking capability to RegionBranchOpInterface 2020-07-15 11:14:07 -07:00
SPIRV [mlir][StandardToSPIRV] Fix conversion for signed remainder 2020-07-13 16:15:31 -04:00
Shape [MLIR][Shape] Allow `shape.rank` to accept extent tensors `tensor?xindex>` 2020-07-20 14:47:19 +00:00
Standard [MLIR][Standard] Erase redundant assertions `std.assert` 2020-07-14 10:09:39 +00:00
Vector [mlir] [VectorOps] Add scatter/gather operations to Vector dialect 2020-07-21 10:57:40 -07:00
traits.mlir [mlir] Generalize broadcastable trait operands 2020-01-20 13:02:14 -08:00