llvm-project/mlir
Groverkss d71a8bb157 [MLIR][Affine] Allow affine-expr on RHS in IntegerSet
Currently, the parser for IntegerSet, only allows constraints like:

```
affine-constraint ::= affine-expr `>=` `0`
                    | affine-expr `==` `0`
```

This form is sometimes unreadable and painful to use when writing unittests
for Presburger library and tests in general.

This patch extends the parser to allow affine constraints with affine-expr on
the RHS:

```
affine-constraint ::= affine-expr `>=` `affine-expr`
                    | affine-expr `==` `affine-expr`
```

The internal storage and printing of IntegerSet is still in the original format.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D128915
2022-07-03 16:22:39 +01:00
..
benchmark/python [mlir] Fix declaration of nano time function in benchmark infra 2022-05-13 13:22:18 +02:00
cmake/modules [mlir] Leverage CMake interface libraries for mlir python 2022-06-28 10:42:58 -07:00
docs [MLIR][Affine] Allow affine-expr on RHS in IntegerSet 2022-07-03 16:22:39 +01:00
examples [mlir] move SCF headers to SCF/{IR,Transforms} respectively 2022-06-20 10:18:01 +02:00
include [mlir][complex] Inverse canonicalization between exp and log 2022-07-03 09:26:55 +09:00
lib [MLIR][Affine] Allow affine-expr on RHS in IntegerSet 2022-07-03 16:22:39 +01:00
python [mlir] Leverage CMake interface libraries for mlir python 2022-06-28 10:42:58 -07:00
test [MLIR][Affine] Allow affine-expr on RHS in IntegerSet 2022-07-03 16:22:39 +01:00
tools [mlir] Add Dead Code Analysis 2022-06-30 13:51:25 -07:00
unittests [mlir][sparse] Silencing some -Wunused-function in unittests 2022-07-01 18:47:44 -07:00
utils [mlir] Fix usages of `run-reproducer`. 2022-07-01 18:36:07 +00:00
.clang-format [mlir] Add missing newline at end of .clang-format file 2022-06-14 23:59:00 -07:00
.clang-tidy Enable readability-redundant-smartptr-get in MLIR local clang-tidy config 2022-01-08 20:07:11 +00:00
CMakeLists.txt Revert "[cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore" 2022-06-10 19:26:12 +00:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.