|
|
|
|
|
by bruce343434
1078 days ago
|
|
E-graphs are interesting, but one still has to deal with combinatorial explosions. Are you alluding to some powerful search heuristic? Your example touches on the problems of inflexible ABI, namely caller saved registers and the unknowability of side effects of external functions. Very weird that it can't reorder `r = x+y` despite it having no "observable" side effect until `return r`, since that return dominates the assignment, and there's no real relation between (the return, assignment) and (eff()). |
|