hanchenye-llvm-project/mlir/test/Dialect
Benjamin Kramer ff5de8a9e0 [linalg][fusion] Disallow fusion when it would create an invalid expand_shape
The input type of a linalg.generic can be less dynamic than its output
type. If this is the case moving a reshape across the generic op would
create invalid IR, as expand_shape cannot expand arbitrary dynamic
dimensions.

Check that the reshape is actually valid before creating the
expand_shape. This exposes the existing verification logic in reshape
utils and removes the incomplete custom implementation in fusion.

Differential Revision: https://reviews.llvm.org/D116600
2022-01-18 23:44:14 +01:00
..
AMX [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
Affine [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
Arithmetic Remove NaN constant from arith.minf, arith.maxf expansion 2022-01-12 20:56:40 +01:00
ArmNeon 2d Arm Neon sdot op, and lowering to the intrinsic. 2021-06-10 14:36:39 -07:00
ArmSVE [mlir][RFC] Add scalable dimensions to VectorType 2021-12-15 09:31:37 +00:00
Async Make AsyncParallelForRewrite parameterizable with a cost model which drives deciding the parallelization granularity. 2021-12-19 08:41:01 -08:00
Bufferization [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
Builtin [mlir][RFC] Add scalable dimensions to VectorType 2021-12-15 09:31:37 +00:00
Complex [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
DLTI
EmitC [mlir] Fix printing of EmitC attrs/types with escape characters 2021-09-15 18:15:38 +00:00
GPU [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
LLVMIR [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
Linalg [linalg][fusion] Disallow fusion when it would create an invalid expand_shape 2022-01-18 23:44:14 +01:00
Math [MLIR][Math] Enable constant folding of ops 2022-01-12 12:19:29 -05:00
MemRef [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
OpenACC [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
OpenMP [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
PDL [MLIR][PDL] Generalize result type verification 2022-01-04 08:11:46 +05:30
PDLInterp Defines new PDLInterp operations needed for multi-root matching in PDL. 2021-11-26 17:59:22 +05:30
Quant [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
SCF [MLIR][SCF] Remove unused arguments to whileop 2022-01-11 20:18:08 -05:00
SPIRV [mlir] Move trait to InferTypeOpInterface 2021-11-21 14:41:12 -08:00
Shape [mlir] Flag near misses in file splitting 2021-12-12 08:03:30 -08:00
SparseTensor [mlir][sparse] adding OverheadType::kIndex 2022-01-04 16:15:54 -08:00
Standard [MLIR] Generalize select to arithmetic canonicalization 2022-01-10 11:50:17 -05:00
Tensor [mlir][MemRef] Deprecate unspecified trailing offset, size, and strides semantics of `OffsetSizeAndStrideOpInterface`. 2021-12-29 11:18:29 -08:00
Tosa [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
Vector [mlir][Vector] Generalize and improve folding of ExtractOp from Insert/Transpose chain. 2022-01-17 16:05:23 +00:00
X86Vector [mlir][vector][avx] add AVX dot product to X86Vector dialect with lowering 2021-04-15 15:01:39 -07:00
traits.mlir [mlir] Fix broadcasting check with 1 values 2021-07-11 20:41:33 -07:00