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

Fix schedule order via interval-rewrite rules #681

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yihozhang
Copy link
Collaborator

Alternative to #680

Copy link
Member

@oflatt oflatt left a comment

Choose a reason for hiding this comment

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

Yay!

@@ -123,6 +123,6 @@
(union new-expr loop)
(union new-loop-context (InLoop (Arg argI new-if-true-ctx) new-loop-outputs))

(delete (DoWhile inpW outW))
(subsume (DoWhile inpW outW))
Copy link
Member

Choose a reason for hiding this comment

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

Is this an unrelated change?
I had a weird bug with this this morning that we should investigate where nothing could be extracted

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I also had this in my previous PR. It just makes our rules more consistent (always use subsume rather than delete).

Your bug might be caused by the wrong schedule order that the other changes in this PR fix? I had a similar issue and that was actually the original motivation for this PR.

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.

2 participants