llvm-project/mlir/test
Vincent Zhao 654e8aadfd [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops
This diff attempts to resolve the TODO in `getOpIndexSet` (formerly
known as `getInstIndexSet`), which states "Add support to handle IfInsts
surronding `op`".

Major changes in this diff:

1. Overload `getIndexSet`. The overloaded version considers both
`AffineForOp` and `AffineIfOp`.
2. The `getInstIndexSet` is updated accordingly: its name is changed to
`getOpIndexSet` and its implementation is based on a new API `getIVs`
instead of `getLoopIVs`.
3. Add `addAffineIfOpDomain` to `FlatAffineConstraints`, which extracts
new constraints from the integer set of `AffineIfOp` and merges it to
the current constraint system.
4. Update how a `Value` is determined as dim or symbol for
`ValuePositionMap` in `buildDimAndSymbolPositionMaps`.

Differential Revision: https://reviews.llvm.org/D84698
2020-08-09 03:16:03 +05:30
..
Analysis Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
Bindings/Python Initial boiler-plate for python bindings. 2020-07-09 12:03:58 -07:00
CAPI [mlir] Initial version of C APIs 2020-08-05 15:04:08 +02:00
Conversion [mlir][spirv] Add correct handling of Kernel and Addresses capabilities 2020-08-07 12:29:21 -07:00
Dialect Add the inline interface to the shape dialect 2020-08-07 23:29:43 -07:00
EDSC Revert "[mlir] Add a utility class, ThreadLocalCache, for storing non static thread local objects." 2020-08-08 05:31:25 +00:00
Examples [lit] Improve naming of test result categories 2020-06-05 08:14:42 -07:00
IR [mlir] Centralize handling of memref element types. 2020-08-07 15:17:23 -07:00
Pass [mlir] Add a new context flag for disabling/enabling multi-threading 2020-05-02 12:32:25 -07:00
SDBM [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
Target [OpenMP,MLIR] Translation of parallel operation: num_threads, if clauses 3/n 2020-08-07 20:54:24 +00:00
Transforms [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops 2020-08-09 03:16:03 +05:30
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib [mlir] Remove the need to define `kindof` on attribute and type classes. 2020-08-07 13:43:25 -07:00
mlir-cpu-runner [mlir] Lower DimOp to LLVM for unranked memrefs. 2020-08-06 11:46:11 +02:00
mlir-cuda-runner Remove debug flags from test (NFC) 2020-08-02 16:59:20 +00:00
mlir-linalg-ods-gen [mlir][Linalg] Add support to lower named ops to loops. 2020-04-30 13:45:17 -04:00
mlir-opt [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
mlir-reduce Create Reduction Tree Pass 2020-08-07 23:17:31 +00:00
mlir-rocm-runner Remove debug flags from test (NFC) 2020-08-02 16:59:20 +00:00
mlir-tblgen [MLIR] Add getSizeInBits() for tensor of complex 2020-08-07 12:38:49 -07:00
mlir-vulkan-runner [mlir][vulkan-runner] add support for memref of i8, i16 types in vulkan runner 2020-06-18 13:24:51 -07: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 [mlir] Initial version of C APIs 2020-08-05 15:04:08 +02:00
lit.cfg.py [mlir] Initial version of C APIs 2020-08-05 15:04:08 +02:00
lit.site.cfg.py.in Initial boiler-plate for python bindings. 2020-07-09 12:03:58 -07:00