This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Presburger] Implement getDomainSet and getRangeSet for PresburgerRelation
ClosedPublic

Authored by iambrj on Aug 18 2023, 2:22 AM.

Details

Summary

This patch implements getDomainSet and getRangeSet for PresburgerRelation

Diff Detail

Event Timeline

iambrj created this revision.Aug 18 2023, 2:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2023, 2:22 AM
iambrj requested review of this revision.Aug 18 2023, 2:22 AM
Groverkss accepted this revision.Aug 19 2023, 2:27 AM
Groverkss added inline comments.
mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
100

I think you can drop "all points". Just "Return a set corresponding to the domain of the relation" should be fine.

102

I generally remove newlines between related methods.

mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
169–171

You can drop braces here.

This revision is now accepted and ready to land.Aug 19 2023, 2:27 AM
iambrj updated this revision to Diff 551732.Aug 19 2023, 3:14 AM

Address comments

iambrj marked 3 inline comments as done.Aug 19 2023, 3:15 AM
iambrj updated this revision to Diff 551734.Aug 19 2023, 3:36 AM
iambrj marked an inline comment as not done.

Fix missing base commit

iambrj marked an inline comment as done.Aug 19 2023, 3:38 AM
This revision was landed with ongoing or failed builds.Aug 19 2023, 3:43 AM
This revision was automatically updated to reflect the committed changes.