We need richer cost functions for extraction in eggcc.
For example, assume nodes should not take the context into account for the cost.
Loops should multiply the cost of children somehow.
This is a difficult change. Perhaps we can make something like this work?
We need richer cost functions for extraction in eggcc. For example,
assume
nodes should not take the context into account for the cost. Loops should multiply the cost of children somehow.This is a difficult change. Perhaps we can make something like this work?
We could also have an analysis that figures out how many times a loop iterates and use it in the cost function: