EqualityExtractionPass should propagate equalities
delcypher opened this issue · 0 comments
delcypher commented
Now with the benefit of hindsight I see there is a terrible coupling
between EqualityExtractionPass
and
FreeVariableToBufferAssignmentPass
that means the implementation is
unnecessarily complicated. What EqualityExtractionPass
should really
do is modify the constraints so that eliminated free variables are no
longer mentioned anywhere in the constraints. This would mean that
FreeVariableToBufferAssignmentPass
would not need to know anything
about EqualityExtractionPass
. So really EqualityExtractionPass
should really be PropagateEqualityPass
or something like that...