llvm-project/mlir/test/Dialect/Linalg
MaheshRavishankar 7df7586a0b [mlir][MemRef] Deprecate unspecified trailing offset, size, and strides semantics of `OffsetSizeAndStrideOpInterface`.
The semantics of the ops that implement the
`OffsetSizeAndStrideOpInterface` is that if the number of offsets,
sizes or strides are less than the rank of the source, then some
default values are filled along the trailing dimensions (0 for offset,
source dimension of sizes, and 1 for strides). This is confusing,
especially with rank-reducing semantics. Immediate issue here is that
the methods of `OffsetSizeAndStridesOpInterface` assumes that the
number of values is same as the source rank. This cause out-of-bounds
errors.

So simplifying the specification of `OffsetSizeAndStridesOpInterface`
to make it invalid to specify number of offsets/sizes/strides not
equal to the source rank.

Differential Revision: https://reviews.llvm.org/D115677
2021-12-29 11:18:29 -08:00
..
affine.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
bufferize.mlir [mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect. 2021-12-10 12:11:48 +01:00
canonicalize-duplicate-inputs.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
canonicalize.mlir [mlir][Linalg] Move named op conversions out of canonicalizations. 2021-12-20 10:19:05 -08:00
codegen-strategy.mlir [mlir][linalg] Stage application of pad tensor op vectoriztaion. 2021-12-13 19:49:35 +00:00
comprehensive-bufferize-analysis-2fill-extract-matmul-all-perms.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
comprehensive-function-bufferize.mlir [mlir][linalg][bufferize] Replace remaining bvm usage with new API 2021-12-15 23:21:39 +09:00
comprehensive-module-bufferize-alloca.mlir [mlir][Linalg] Allow comprehensive bufferization to use callbacks for alloc/dealloc. 2021-10-25 12:43:10 -07:00
comprehensive-module-bufferize-analysis.mlir [mlir][linalg][bufferize] Reimplementation of scf.if bufferization 2021-12-15 18:40:54 +09:00
comprehensive-module-bufferize-invalid.mlir [mlir][linalg][bufferize] Reimplementation of scf.if bufferization 2021-12-15 18:40:54 +09:00
comprehensive-module-bufferize-partial.mlir [mlir][linalg][bufferize] Replace remaining bvm usage with new API 2021-12-15 23:21:39 +09:00
comprehensive-module-bufferize.mlir [mlir][linalg][bufferize] Replace remaining bvm usage with new API 2021-12-15 23:21:39 +09:00
conv-interface-invalid.mlir [mlir][Linalg] Add ConvolutionOpInterface. 2021-09-20 10:41:10 -07:00
convert-elementwise-to-linalg.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
decompose-convolution.mlir [mlir][linalg] Add decompose to CodegenStrategy. 2021-11-30 15:48:29 +00:00
detensorize_0d.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
detensorize_br_operands.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
detensorize_if.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
detensorize_trivial.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
detensorize_while.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
detensorize_while_impure_cf.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
detensorize_while_pure_cf.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
distribute-tiled-loop.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
drop-unit-extent-dims.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
fold-unit-trip-loops.mlir Re-apply [NFC] Generalize a couple of passes so they can operate on any FunctionLike op. 2021-12-13 13:33:00 -08:00
forward-vector-transfers.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
fusion-2-level.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
fusion-elementwise-ops.mlir [mlir] Move min/max ops from Std to Arith. 2021-11-15 13:19:17 +01:00
fusion-elementwise-options.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
fusion-indexed.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
fusion-pattern.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
fusion-push-reshape.mlir [mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect. 2021-12-10 12:11:48 +01:00
fusion-sequence.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
fusion-tensor-pattern.mlir [mlir][linalg] Always generate an extract/insert slice pair when tiling output tensors. 2021-11-22 13:12:43 +00:00
fusion.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
generalize-named-ops.mlir [mlir][Linalg] Make depthwise convolution naming scheme consistent. 2021-11-15 07:54:29 +00:00
generalize-named-polymorphic-ops.mlir [mlir] Move min/max ops from Std to Arith. 2021-11-15 13:19:17 +01:00
generalize-pad-tensor.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
hoist-padding.mlir [mlir][linalg] Simplify the hoist padding tests. 2021-11-26 07:40:22 +00:00
hoisting.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
inline-scalar-operands.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
inlining.mlir [mlir][Linalg] Uniformize linalg.generic with named ops. 2020-09-22 04:13:22 -04:00
interchange.mlir [mlir][linalg] Add decompose to CodegenStrategy. 2021-11-30 15:48:29 +00:00
invalid.mlir [mlir][linalg] Remove RangeOp and RangeType. 2021-12-15 07:19:10 +00:00
library-calls.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
loops.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
lower-pad-tensor.mlir [mlir] Move memref.[tensor_load|buffer_cast|clone] to "bufferization" dialect. 2021-11-25 11:50:39 +01:00
named-ops.mlir [mlir][Linalg] Make depthwise convolution naming scheme consistent. 2021-11-15 07:54:29 +00:00
namedop_conversion.mlir [mlir][Linalg] Move named op conversions out of canonicalizations. 2021-12-20 10:19:05 -08:00
pad.mlir [mlir][linalg] Only compose PadTensorOps if no ExtractSliceOp is rank-reducing. 2021-12-13 13:01:30 +00:00
parallel-loops.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
promote.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
promotion_options.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
reshape_control_fusion.mlir [mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect. 2021-12-10 12:11:48 +01:00
reshape_fusion.mlir [mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect. 2021-12-10 12:11:48 +01:00
reshape_linearization_fusion.mlir [mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect. 2021-12-10 12:11:48 +01:00
reshape_linearization_fusion_with_unit_dims.mlir [mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect. 2021-12-10 12:11:48 +01:00
resolve-shaped-type-result-dims.mlir [mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect. 2021-12-10 12:11:48 +01:00
roundtrip.mlir [mlir][linalg] Remove RangeOp and RangeType. 2021-12-15 07:19:10 +00:00
standard.mlir [mlir][linalg] Remove IndexedGenericOp support from LinalgToStandard... 2021-05-12 11:56:07 +00:00
subtensor-of-padtensor.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-and-distribute.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-and-fuse-on-tensors.mlir [mlir][linalg] Always generate an extract/insert slice pair when tiling output tensors. 2021-11-22 13:12:43 +00:00
tile-and-fuse-sequence-on-tensors.mlir [mlir][linalg] Add a tile and fuse on tensors pattern. 2021-11-22 11:13:21 +00:00
tile-and-fuse-tensors.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-and-peel-tensors.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-conv.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-indexed.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-pad-tensor-op.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-parallel-reduce.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-parallel.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-scalarize-dynamic-dims.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-tensors.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tile-zero.mlir [mlir][Linalg] Do not return failure when all tile sizes are zero. 2021-11-18 09:28:25 -08:00
tile.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tiled-loop-peeling.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
tiled-loop-to-scf.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
transform-patterns-matmul-to-vector.mlir [mlir][MemRef] Deprecate unspecified trailing offset, size, and strides semantics of `OffsetSizeAndStrideOpInterface`. 2021-12-29 11:18:29 -08:00
transform-patterns.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
vectorization.mlir [mlir][linalg] Adapt the PadTensorOpVectorizationWithInsertSlicePattern matching. 2021-12-13 12:55:07 +00:00
vectorize-convolution.mlir [mlir][Linalg] Fix and improve vectorization of depthwise convolutions. 2021-11-15 12:58:05 +00:00