llvm-project/mlir/test
Alex Zinenko 18d0f7d5c3 [mlir] add canonicalization patterns for trivial SCF 'for' and 'if'
Add canoncalization patterns to remove zero-iteration 'for' loops, replace
single-iteration 'for' loops with their bodies; remove known-false conditionals
with no 'else' branch and replace conditionals with known value by the
respective region. Although similar transformations are performed at the CFG
level, not all flows reach that level, e.g., the GPU flow may want to remove
single-iteration loops before deciding on loop mapping to thread dimensions.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D91865
2020-11-20 19:04:39 +01:00
..
Analysis [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
Bindings/Python [mlir] Get array from the dense elements attribute with buffer protocol. 2020-11-18 15:50:59 +08:00
CAPI [mlir] Get array from the dense elements attribute with buffer protocol. 2020-11-18 15:50:59 +08:00
Conversion [mlir] Automatic reference counting for Async values + runtime support for ref counted objects 2020-11-20 03:08:44 -08:00
Dialect [mlir] add canonicalization patterns for trivial SCF 'for' and 'if' 2020-11-20 19:04:39 +01:00
EDSC [mlir][BuiltinDialect] Resolve comments from D91571 2020-11-19 11:12:49 -08:00
Examples [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
IR [mlir] Add support for referencing a SymbolRefAttr in a SideEffectInstance 2020-11-18 18:38:43 -08:00
Pass [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
SDBM Remove global dialect registration 2020-10-24 00:35:55 +00:00
Target [mlir][TableGen] Support intrinsics with multiple returns and overloaded operands. 2020-11-19 09:59:42 +01:00
Transforms Fix rollback of first block erasure in a region. 2020-11-19 21:24:10 +01:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib Revert "[mlir][Linalg] Fuse sequence of Linalg operation (on buffers)" 2020-11-20 13:12:54 +01:00
mlir-cpu-runner [mlir] Automatic reference counting for Async values + runtime support for ref counted objects 2020-11-20 03:08:44 -08:00
mlir-cuda-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-linalg-ods-gen [mlir][Linalg] Side effects interface for Linalg ops 2020-11-05 09:00:28 +00:00
mlir-opt Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
mlir-reduce [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
mlir-rocm-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-spirv-cpu-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-tblgen [mlir] Add support for referencing a SymbolRefAttr in a SideEffectInstance 2020-11-18 18:38:43 -08:00
mlir-vulkan-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
APITest.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
CMakeLists.txt Add basic Python bindings for the PassManager and bind libTransforms 2020-11-10 19:55:21 +00:00
lit.cfg.py Add a basic C API for the MLIR PassManager as well as a basic TableGen backend for creating passes 2020-11-04 06:36:31 +00:00
lit.site.cfg.py.in Fix MLIR lit test configuration after cmake Python detection change 2020-11-13 04:44:45 +00:00