Optimization passes on sea of nodes
kddnewton opened this issue · comments
Kevin Newton commented
Once we have the sea of nodes representation, we should be able to start writing optimization passes. This includes:
-
adjuststack
nodes should become multiplepop
nodes since this can end up eliminating pairs of unnecessary read/writes. -
jump
instructions with a single input and single output can be eliminated entirely from the graph.