Partial Redundancy Elimination

Partial redundancy elimination (PRE) makes partially redundant computation fully redundant, and then replaces all redundant computation with copies. PRE thus combines global common subexpression elimination and loop invariant code motion. This optimization is traditionally accomplished by solving a set of data flow equations. In Scale, we can solve it using Chow, et al.

PRE combines global common sub-expression elimination and loop invariant code motion. This is traditionally accomplished by solving a set of data flow equations.

Scale PRE is based on the SSA form of the Scribble CFG

Traditional PRE

Scale PRE


Return to Scale home page.
(Last changed: March 21, 2007.)