Expand description
Dead Code Elimination
This optimization removes unused definitions. The pass is a combination of
- A liveness analysis that keeps track of the uses of a definition,
- At the time of inspecting a definition, if it has no uses, it is removed. This pass does not do CFG transformations. That is handled by simplify_cfg.