This patch extends the affine parser to allow affine constraints with <=.
This is useful in writing unittests for Presburger library and test in general.
The internal storage and printing of IntegerSet is still in the original format.
Paths
| Differential D129046
[MLIR][Affine] Allow `<=` in IntegerSet constraints ClosedPublic Authored by Groverkss on Jul 3 2022, 9:00 AM.
Details Summary This patch extends the affine parser to allow affine constraints with <=. The internal storage and printing of IntegerSet is still in the original format.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 4 2022, 7:24 PM Closed by commit rG3c043ab007a1: [MLIR][Affine] Allow `<=` in IntegerSet constraints (authored by Groverkss). · Explain WhyJul 5 2022, 4:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 442259 mlir/docs/Dialects/Affine.md
mlir/lib/Parser/AffineParser.cpp
mlir/test/IR/affine-set.mlir
mlir/test/IR/invalid.mlir
|