This is an archive of the discontinued LLVM Phabricator instance.

[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 <=.
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.

Diff Detail

Event Timeline

Groverkss created this revision.Jul 3 2022, 9:00 AM
Herald added a project: Restricted Project. · View Herald Transcript
Groverkss requested review of this revision.Jul 3 2022, 9:00 AM
bondhugula accepted this revision.Jul 4 2022, 7:24 PM

LGTM - this is a great addition.

This revision is now accepted and ready to land.Jul 4 2022, 7:24 PM
This revision was automatically updated to reflect the committed changes.