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

3 statement switches #157

Open
oxinabox opened this issue May 25, 2023 · 0 comments
Open

3 statement switches #157

oxinabox opened this issue May 25, 2023 · 0 comments

Comments

@oxinabox
Copy link
Member

This is a minor annoyance for maintenance. Which complicates things when you realize that the IR has encountered something unexpected, or is doing something wrong, you need to look in 3 places.

These are each basically big switch statements, that decide how to AD particular IR statments

It seems like we should only have 2.
That we can perhaps collapse forward as a special case of Forward-Demand where you demand everything or some such.

But they are not trivial to collapse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant