Dominance-based duplication simulation (DBDS): code duplication to enable compiler optimizations
David Leopoldseder, Lukas Stadler, Thomas Würthinger et al. · 2018
Compilers perform a variety of advanced optimizations to improve the quality of the generated machine code. However, optimizations that depend on the data flow of a program are often limited by control-flow merges. Code duplication can solve this problem by hoisting, i.e. duplicating, instructions from merge blocks to their predecessors. However, finding optimization opportunities enabled by duplication is a non-trivial task that requires compile-time intensive analysis. This imposes a challenge on modern (just-in-time) compilers: Duplicating instructions tentatively at every control flow merge is not feasible because excessive duplication leads to uncontrolled code growth and compile time increases. Therefore, compilers need to find out whether a duplication is beneficial enough to be performed.
Cited by 0 works. doi:10.1145/3179541.3168811
Authors
References
- Efficiently computing static single assignment form and the control dependence graph
- Limits of instruction-level parallelism
- Compiler transformations for high-performance computing
- The DaCapo benchmarks
- Using profile information to assist classic code optimizations
- Partial Evaluation of Computation Process--An Approach to a Compiler-Compiler
- Avoiding conditional branches by code replication
- Performance estimation of embedded software with instruction cache modeling
- Complete removal of redundant expressions
- A study of devirtualization techniques for a Java Just-In-Time compiler