dillon1000/react
Commit
Browse files Optimize DCE to visit CFG only once when there are no loops
Optimizes dead code elimination. Currently it keeps iterating the control flow graph until no new usages have been discovered, which accounts for usages across loops. However, when there are no loops it's sufficient to iterate the CFG exactly once.
Changed paths1 file
First-parent comparisoncompiler/forget/src/Optimization/DeadCodeElimination.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…