llvm-project/mlir/test/Dialect/Linalg
Nicolas Vasilache 538ac26f25 [mlir][Linalg] Create a named batch_matmul op and pipe it through.
This revision is the first in a set of improvements that aim at allowing
more generalized named Linalg op generation from a mathematical
specification.

This revision allows creating a new op and checks that the parser,
printer and verifier are hooked up properly.

This opened up a few design points that will be addressed in the future:
1. A named linalg op has a static region builder instead of an
explicitly parsed region. This is not currently compatible with
assemblyFormat so a custom parser / printer are needed.
2. The convention for structured ops and tensor return values needs to
evolve to allow tensor-land and buffer land specifications to agree
3. ReferenceIndexingMaps and referenceIterators will need to become
static to allow building attributes at parse time.
4. Error messages will be improved once we have 3. and we pretty print
in custom form.

Differential Revision: https://reviews.llvm.org/D78327
2020-04-21 12:09:46 -04:00
..
affine.mlir [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
canonicalize.mlir [mlir][Linalg] Introduce folding patterns to remove certain MemRefCastOp 2020-01-29 09:52:51 -05:00
fusion-2-level.mlir Deprecate linalg.subview in favor of std.subview 2019-11-13 12:10:09 -08:00
fusion-tensor.mlir [mlir][Linalg] Handle null affine map returns from inversePermutation. 2020-04-14 14:41:20 -07:00
fusion.mlir [MLIR] Fix fusion of linalg.indexed_generic producer into tiled (Indexed)GenericOp. 2020-04-16 10:45:17 +02:00
fusion_indexed_generic.mlir [MLIR] Fix fusion of linalg.indexed_generic producer into tiled (Indexed)GenericOp. 2020-04-16 10:45:17 +02:00
invalid.mlir [mlir][Linalg] Create a named batch_matmul op and pipe it through. 2020-04-21 12:09:46 -04:00
llvm.mlir [mlir] [VectorOps,LinAlg] Remove direct LLVM lowering for vector.broadcast 2020-03-13 11:42:51 -07:00
loops.mlir [mlir][Linalg] Drop function attribute from generic ops. 2020-04-16 09:47:08 -04:00
matmul-to-vector.mlir [mlir][Linalg] Add a test for a fused Linalg pass based on DRR to go from matmul to vectors 2020-04-08 16:54:40 -04:00
parallel_loops.mlir [mlir][Linalg] Add loop.parallel lowering for all Linalg Ops. 2020-04-13 13:19:12 -07:00
promote.mlir [mlir][Linalg] Use subview instead of linalg.slice in Promotion.cpp 2020-04-07 23:52:31 -04:00
roundtrip.mlir [mlir][Linalg] Create a named batch_matmul op and pipe it through. 2020-04-21 12:09:46 -04:00
tile.mlir [mlir] Move several static cl::opts to be pass options instead. 2020-03-22 03:16:21 -07:00
tile_conv.mlir [mlir] Move several static cl::opts to be pass options instead. 2020-03-22 03:16:21 -07:00
tile_conv_padding.mlir [mlir][Linalg] Allow tiling of batch dimension for convolution ops with padding. 2020-03-31 09:22:38 -07:00
tile_indexed_generic.mlir [mlir] Move several static cl::opts to be pass options instead. 2020-03-22 03:16:21 -07:00
tile_parallel.mlir [mlir] Move several static cl::opts to be pass options instead. 2020-03-22 03:16:21 -07:00
transform-patterns.mlir [mlir] [linalg] Fix transform-patterns test. 2020-04-21 12:53:45 +02:00