hanchenye-llvm-project/mlir/test
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
..
Analysis [mlir] Remove getNumberOfExecutions from RegionBranchOpInterface 2022-01-14 13:15:27 -08:00
CAPI Disable the MLIR ExecutionEngine library when the native target is not configured 2022-01-15 19:36:27 +00:00
Conversion [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
Dialect [linalg][fusion] Disallow fusion when it would create an invalid expand_shape 2022-01-18 23:44:14 +01:00
Examples Re-apply "[mlir] Allow out-of-tree python building from installed MLIR." 2021-11-14 20:31:34 -08:00
IR Allows deferred location attribute in `parseOptionalLocationSpecifier` 2022-01-18 22:00:36 +00:00
Integration [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
Interfaces [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
Pass [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
Rewrite Introduced iterative bytecode execution. 2021-11-26 18:11:37 +05:30
Target [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
Transforms [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
Unit Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot" 2021-06-29 18:03:23 -05:00
lib [mlir:Analysis] Move the LoopAnalysis library to Dialect/Affine/Analysis 2022-01-18 10:28:22 -08:00
mlir-cpu-runner [mlir][memref] Fix memref.copy of scalar memref 2022-01-14 16:13:12 +01:00
mlir-linalg-ods-gen [mlir][OpDSL] Rename `PrimFn` to `ArithFn`. 2022-01-07 12:38:03 +00:00
mlir-lsp-server [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
mlir-opt [Coroutines] Set presplit attribute in Clang and mlir 2022-01-05 10:25:02 +08:00
mlir-pdll/Parser [PDLL] Add a `rewrite` statement to enable complex rewrites 2021-12-16 02:08:13 +00:00
mlir-reduce
mlir-spirv-cpu-runner Fix clang-tidy issues in mlir/ (NFC) 2021-12-20 20:25:01 +00:00
mlir-tblgen [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
mlir-translate
mlir-vulkan-runner [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
python [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
APITest.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
CMakeLists.txt Disable the MLIR ExecutionEngine library when the native target is not configured 2022-01-15 19:36:27 +00:00
lit.cfg.py Mark some MLIR tests as requiring the native target to be configured 2022-01-14 07:23:14 +00:00
lit.site.cfg.py.in [MLIR][GPU] Add target arguments to SerializeToHsaco 2021-11-18 16:28:44 +00:00