Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved the CSE by not commoning at the toplevel redundant computati…
…ons that only appear in one of the possible execution path (for instance, only in the then/else branch of an IF statement). Redundant computations that appear only in a specific execution path are now being commoned at the entrance of their specific execution path instead of earlier at the toplevel. Introducing them at the toplevel was an anti-optimization as the redundant computation might not have been comptued at all. Added two additional tests for this too.
- Loading branch information