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

Consider *all* Exprs a func uses, not just the RHS, in Li2018 #8326

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

abadams
Copy link
Member

@abadams abadams commented Jun 25, 2024

Fixes #8312

bounds[it.first] = new_box;
}
}
class CollectExprs : public IRMutator {
Copy link
Contributor

Choose a reason for hiding this comment

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

Dumb question, but why not IRVisitor instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't have a method to override that catches all Exprs.

@steven-johnson steven-johnson self-requested a review June 26, 2024 00:00
@abadams abadams merged commit a4a7531 into main Jun 26, 2024
17 of 19 checks passed
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.

Internal Error: Condition failed: bounds.find(*it) != bounds.end()
2 participants