Improved loop tiling based on the removal of spurious false dependences
Open Access
- 20 January 2013
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 9 (4) , 1-26
Abstract
To preserve the validity of loop nest transformations and parallelization, data dependences need to be analyzed. Memory dependences come in two varieties: true dependences or false dependences. While true dependences must be satisfied in order to preserve the correct order of computations, false dependences are induced by the reuse of a single memory location to store multiple values. False dependences reduce the degrees of freedom for loop transformations. In particular, loop tiling is severely limited in the presence of these dependences. While array expansion removes all false dependences, the overhead on memory and the detrimental impact on register-level reuse can be catastrophic. We propose and evaluate a compilation technique to safely ignore a large number of false dependences in order to enable loop nest tiling in the polyhedral model. It is based on the precise characterization of interferences between live range intervals, and it does not incur any scalar or array expansion. Our algorithms have been implemented in the Pluto polyhedral compiler, and evaluated on the PolyBench suite.Keywords
This publication has 19 references indexed in Scilit:
- Register Allocation for Programs in SSA-Form2006
- New Complexity Results on Array Contraction and Related ProblemsJournal of Signal Processing Systems, 2005
- Optimizing memory usage in the polyhedral modelACM Transactions on Programming Languages and Systems, 2000
- Automatic storage management for parallel programsParallel Computing, 1998
- Some efficient solutions to the affine scheduling problem. I. One-dimensional timeInternational Journal of Parallel Programming, 1992
- Array privatization for parallel execution of loops1992
- A loop transformation theory and an algorithm to maximize parallelismIEEE Transactions on Parallel and Distributed Systems, 1991
- Dataflow analysis of array and scalar referencesInternational Journal of Parallel Programming, 1991
- Improving register allocation for subscripted variables1990
- Register allocation via coloringComputer Languages, 1981