Abstract
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.
Our approach is based on techniques for partial redundancy elimination. Besides some new technical problems there is a significant difference here: partial dead code elimination introduces second order effects, which we overcome by means of exhaustive motion and elimination steps. The optimality and the uniqueness of the program obtained is proved by means of a new technique which is universally applicable and particularly useful in the case of mutually interdependent program optimizations.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
57 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Optimistic and Scalable Global Function Merging;Proceedings of the 25th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems;2024-06-20
2. Effective Bug Detection with Unused Definitions;Proceedings of the Nineteenth European Conference on Computer Systems;2024-04-22
3. DynaCut;Proceedings of the 24th International Middleware Conference on ZZZ;2023-11-27
4. Global Store Statement Aggregation;2023 IEEE 14th International Symposium on Parallel Architectures, Algorithms and Programming (PAAP);2023-11-24
5. The algorithm and implementation of an extension to LLVM for solving the blocking between instruction sink and division-modulo combine;Connection Science;2023-10-30