Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Codegen] Refactor RemoveSingleIteratinLoop to use ValueBoundsOpInte… #19678

Open
wants to merge 1 commit into
base: users/krzysz00/propagate-dispatch-sizes-everywhere
Choose a base branch
from

Conversation

krzysz00
Copy link
Contributor

…rface

Now, RemoveLingleIterationLoop uses the same ValueBoundsOpInterface logic as IREELoopInvariantCodeMotion, unifying the two passes and getting rid of a half-baked implementation of that constraint analysis.

In order to preserve existing functionality,
PropagateDispatchSizeBounds is updated to correctly propagate constant sizes to constants.

Also, add a test to make sure that the eliminator now understands the constraints imposed by delinearize and linearize.

…face

Now, RemoveLingleIterationLoop uses the same ValueBoundsOpInterface
logic as IREELoopInvariantCodeMotion, unifying the two passes and
getting rid of a half-baked implementation of that constraint
analysis.

In order to preserve existing functionality,
PropagateDispatchSizeBounds is updated to correctly propagate constant
sizes to constants.

Also, add a test to make sure that the eliminator now understands the
constraints imposed by delinearize and linearize.
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