Parallelizing Compiler Translation Validation Using Happens-Before and Task-Set
Jixin Han, Tomofumi Yuki, Michelle Mills Strout et al. · International Symposium on Computing and Networking Workshops (CANDARW) · 2021
Program optimization passes performed by an automatically parallelizing compiler require highly sophisticated transformations of a source program. The compiler must preserve the behavior of the source program with the parallelized program. However, the implementation of such optimization passes may introduce bugs, and detecting them is usually difficult. In this paper, based on a task graph obtained from a source program, we provide a translation validation technique, which validates that the task related program properties, such as partial order among tasks and task-set to be executed, are preserved before and after compiler transformations. These properties are derived from edges in the graph consisting of both data and control dependencies. The implemented translation validator is evaluated with the OSCAR parallelizing compiler using four C programs generated by Embedded Coder from MATLAB/Simulink models to show the feasibility of the validation.
Cited by 0 works. doi:10.1109/candarw53999.2021.00022
Authors
References
- Time, clocks, and the ordering of events in a distributed system
- The program dependence graph and its use in optimization
- Formal verification of a realistic compiler
- Translation validation
- Formalizing the LLVM intermediate representation for verified program transformations
- Formal verification of translation validators
- The hierarchical task graph as a universal intermediate representation
- Independence and Concurrent Separation Logic
- Mechanized Verification of Computing Dominators for Formalizing Compilers
- Multigrain Parallelization for Model-Based Design Applications Using the OSCAR Compiler