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

Add boundary_reserved_regs option #104

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dop-amin
Copy link
Collaborator

Extracted from #61, was introduced originally in 9310140.

continue
if producer.src.is_virtual is True or consumer.is_virtual is True:
continue
self._Add(alloc[r] == False).OnlyEnforceIf(producer.src.pre_var, consumer.pre_var.Not())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a bit more thought and tests to be robust in general:

  • There will also be cross-boundary dependencies from non-post to post
  • There can be dependencies across loop iterations (say an accumulator being changed in every iteration) that need to be handled correctly as well

Copy link
Collaborator

@hanno-becker hanno-becker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not yet ready to be merged, there are more corner cases to be considered. We should also have some tests for this.

@dop-amin dop-amin marked this pull request as draft November 25, 2024 15:22
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.

3 participants