Dominance-based duplication simulation (DBDS): code duplication to enable compiler optimizations
David Leopoldseder, Lukas Stadler, Thomas Würthinger et al. · International Symposium on Code Generation and Optimization (CGO) · 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 36 works. doi:10.1145/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
- Some Implementations of the Boxplot
- Using profile information to assist classic code optimizations
- Effective Compiler Support For Predicated Execution Using The Hyperblock
- The design and implementation of the self compiler, an optimizing compiler for object-oriented programming languages
- Partial Evaluation of Computation Process--An Approach to a Compiler-Compiler
- Predicting the effects of optimization on a procedure body