llvm-project/mlir/test
Alex Zinenko 5988a3b7a0 [mlir] Linalg: ensure tile-and-pad always creates padding as requested
Initially, the padding transformation and the related operation were only used
to guarantee static shapes of subtensors in tiled operations. The
transformation would not insert the padding operation if the shapes were
already static, and the overall code generation would actively remove such
"noop" pads. However, this transformation can be also used to pack data into
smaller tensors and marshall them into faster memory, regardless of the size
mismatches. In context of expert-driven transformation, we should assume that,
if padding is requested, a potentially padded tensor must be always created.
Update the transformation accordingly. To do this, introduce an optional
`packing` attribute to the `pad_tensor` op that serves as an indication that
the padding is an intentional choice (as opposed to side effect of type
normalization) and should be left alone by cleanups.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D110425
2021-09-24 18:40:13 +02:00
..
Analysis Add a new interface allowing to set a default dialect to be used for printing/parsing regions 2021-08-31 17:52:40 +00:00
CAPI [mlir] Tighten verification of SparseElementsAttr 2021-09-21 01:57:42 +00:00
Conversion [OpenMP][MLIR] Add a conversion pattern for the master op 2021-09-12 10:13:40 +00:00
Dialect [mlir] Linalg: ensure tile-and-pad always creates padding as requested 2021-09-24 18:40:13 +02:00
Examples [MLIR] Fix Standalone dialect test to work in out-of-tree builds 2021-06-02 17:24:46 +00:00
IR [OpAsmParser] Add a parseCommaSeparatedList helper and beef up Delimeter. 2021-09-20 20:59:11 -07:00
Integration [mlir][linalg] Merge all tiling passes into a single one. 2021-09-24 10:16:46 +09:00
Interfaces Split `InferShapedTypeOpInterface` to create `ReifyRankedShapedTypeInterface`. 2021-07-19 14:44:52 -07:00
Pass [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
Rewrite
Target [mlir] Always create a list of alias scopes when emitting LLVM IR 2021-09-22 00:00:46 +02:00
Transforms [mlir:DataFlowAnalysis] Reprocess the arguments of already executable edges 2021-09-22 20:14:55 +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][linalg] Support tile+peel with TiledLoopOp 2021-09-24 10:23:31 +09:00
mlir-cpu-runner [MLIR] Mark test case XFAIL on SystemZ for now. 2021-09-13 16:48:31 +02:00
mlir-linalg-ods-gen [mlir][Linalg] Allow all build methods of Structured ops to specify additional attributes. 2021-08-23 13:06:34 -07:00
mlir-lsp-server [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
mlir-opt [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
mlir-reduce [mlir-reduce] Reducer refactor. 2021-06-02 07:45:00 +08:00
mlir-spirv-cpu-runner
mlir-tblgen Add missing storageType to AttrDef to ODS 2021-09-24 01:30:29 +00:00
mlir-translate
mlir-vulkan-runner
python [MLIR] [Python] Make Attribute and Type hashable 2021-09-22 19:59:03 -07:00
APITest.h
CMakeLists.txt Re-engineer MLIR python build support. 2021-07-27 15:54:58 +00:00
lit.cfg.py Re-engineer MLIR python build support. 2021-07-27 15:54:58 +00:00
lit.site.cfg.py.in [MLIR] Fix Standalone dialect test to work in out-of-tree builds 2021-06-02 17:24:46 +00:00