Eliminating redundant object code
- 1 January 1982
- proceedings article
- Published by Association for Computing Machinery (ACM)
- p. 128-132
- https://doi.org/10.1145/582153.582167
Abstract
Compilers usually eliminate common subexpressions in intermediate code, not object code. This reduces machine-dependence but misses the machine-dependent common subexpressions introduced by the last phases of code expansion. This paper describes a machine-independent procedure for eliminating machine-specific common subexpressions. It also identifies dead variables, defines windows for a companion peephole optimizer, and forms the basis of a retargetable register allocator. Its techniques for handling machine-specific data should generalize to other optimizations as well.Keywords
This publication has 0 references indexed in Scilit: