Abstract
Translation validation is a technique for ensuring that a translator, such as a compiler, produces correct results. Because complete verification of the translator itself is often infeasible, translation validation advocates coupling the verification task with the translation task, so that each run of the translator produces verification conditions which, if valid, prove the correctness of the translation. In previous work, the translation validation approach was used to give a framework for proving the correctness of a variety of compiler optimizations, with a recent focus on loop transformations. However, some of these ideas were preliminary and had not been implemented. Additionally, there were examples of common loop transformations which could not be handled by our previous approaches. This paper addresses these issues. We introduce a new rule Reduce for loop reduction transformations, and we generalize our previous rule Validate so that it can handle more transformations involving loops. We then describe how all of this (including some previous theoretical work) is implemented in our compiler validation tool TVOC.
Original language | English (US) |
---|---|
Pages (from-to) | 69-84 |
Number of pages | 16 |
Journal | Electronic Notes in Theoretical Computer Science |
Volume | 141 |
Issue number | 2 |
DOIs | |
State | Published - Dec 7 2005 |
Event | Proceedings of the Fourth International Workshop on Compiler Optimization Meets Compiler Verification (COCV 2005) - Duration: Apr 3 2005 → Apr 3 2005 |
Keywords
- Formal methods
- Loop optimizations
- Translation validation
ASJC Scopus subject areas
- Theoretical Computer Science
- General Computer Science