Skip to content

[Util] Add index range analysis based on ValueBounds - #16324

Closed
qedawkins wants to merge 1 commit into
iree-org:mainfrom
qedawkins:integer_range_analysis
Closed

qedawkins wants to merge 1 commit into
iree-org:mainfrom
qedawkins:integer_range_analysis

Conversation

@qedawkins

Copy link
Copy Markdown
Contributor

This adds an analysis and test pass based on the ValueBounds interface for constructing a set of constraints on the values within a function. The analysis provides a few basic querying helper functions, but in general the expectation is that the constraint maps might require different queries based on the phase of compilation and context of the pass using it.

This is unable to provide bounds estimates that IntegerRelation isn't able to solve for. Also due to lack of support in ValueBoundsInterface, non-index values and CFGs are unsupported.

This adds an analysis and test pass based on the ValueBounds interface
for constructing a set of constraints on the values within a function.
The analysis provides a few basic querying helper functions, but in
general the expectation is that the constraint maps might require
different queries based on the phase of compilation and context of the
pass using it.

This is unable to provide bounds estimates that IntegerRelation isn't
able to solve for. Also due to lack of support in ValueBoundsInterface,
non-index values and CFGs are unsupported.
@qedawkins
qedawkins requested a review from benvanik as a code owner February 5, 2024 21:57
phoebesv pushed a commit to phoebesv/iree that referenced this pull request Feb 21, 2024
* iree: 75be6d8 Clone complex.* producers into dispatch regions
(iree-org#14036) (Mon Jun 12 17:27:45 2023 -0700)
* xla: 6f3795843 Add utilities that allow direct unpacking and
construction of pytrees. (Tue Jun 13 12:01:37 2023 -0700)
* jax: 4dbbb2717 Merge pull request iree-org#16324 from axch:ragged-broadcast
(Tue Jun 13 12:10:52 2023 -0700)

---------

Co-authored-by: Okwan Kwon <[email protected]>
@qedawkins
qedawkins marked this pull request as draft October 1, 2024 02:28
@qedawkins

Copy link
Copy Markdown
Contributor Author

Closing as this has been superceded by recent integer range work.

@qedawkins qedawkins closed this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant