Partial dead code elimination
Jens Knoop, Oliver Rüthing, Bernhard Steffen · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 1994
A new aggressive algorithm for the elimination of partially dead code is presented, i.e., of code which is only dead on some program paths. Besides being more powerful than the usual approaches to dead code elimination, this algorithm is optimal in the following sense: partially dead code remaining in the resulting program cannot be eliminated without changing the branching structure or the semantics of the program, or without impairing some program executions.
Cited by 190 works. doi:10.1145/178243.178256
Authors
References
- Compilers: Principles, Techniques, and Tools
- Flow Analysis of Computer Programs
- Efficiently computing static single assignment form and the control dependence graph
- The Generation of Optimal Code for Arithmetic Expressions
- Applications of Path Compression on Balanced Trees
- Global Data Flow Analysis and Iterative Algorithms
- Constant propagation with conditional branches
- Global optimization by suppression of partial redundancies
- Code Generation for Expressions with Common Subexpressions
- Global value numbers and redundant computations