This patch changes FlatAffineValueConstraints to only allow attaching
values to non-local identifiers.
The reasoning for this change is:
- Information attached to local identifiers can be lost since local identifiers can be removed for output size optimizations.
- There are no current use cases for attaching values to Local identifiers.
- Attaching a value to a local identifier does not make sense since a local identifier represents existential quantification.
This patch also adds some additional asserts to the affected functions.
It looks like we are missing updates to the values field in the class to document they are only for dims and symbols?