This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Presburger] PWMAFunction::valueAt: support local ids
ClosedPublic

Authored by arjunp on Mar 21 2022, 8:16 AM.

Details

Summary

Add a baseline implementation of support for local ids for PWMAFunction::valueAt. This can be made more efficient later if needed by handling locals with known div representations separately.

Diff Detail

Event Timeline

arjunp created this revision.Mar 21 2022, 8:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2022, 8:16 AM
arjunp requested review of this revision.Mar 21 2022, 8:16 AM

Please add a small patch description specifying the reasoning.

mlir/lib/Analysis/Presburger/IntegerRelation.cpp
789–790

I think this comment should be done in setAndEliminate, not here.

arjunp edited the summary of this revision. (Show Details)Mar 23 2022, 3:49 PM
arjunp updated this revision to Diff 417777.Mar 23 2022, 4:12 PM

Elaborate on doc

mlir/lib/Analysis/Presburger/IntegerRelation.cpp
789–790

Elaborated further what I mean.

This revision is now accepted and ready to land.Mar 23 2022, 5:01 PM