This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Analysis] Use Identifiers outside Presburger library
Needs ReviewPublic

Authored by Groverkss on Mar 26 2023, 5:22 AM.

Details

Summary

This patch introduces the use of Identifiers outside of the Presburger library.
Currently, classes outside have to track a value for a variable manually. This
leads to adding virtual methods in Presburgerlib and a number of extra methods
for merging, aligning, and checking the equality of values. Using Identifiers,
these values are tracked automatically by Presburgerlib.

Diff Detail