JuliaDiff/Diffractor.jl

3 statement switches

Opened this issue · 0 comments

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.