Data dependence testing is the basic step in detecting loop level parallelism in numerical programs. The problem is undecidable in the general case. Therefore, work has been concentrated on a simplified problem, affine memory disambiguation. In this simpler domain, array references and loops bounds are assumed to be linear integer functions of loop variables. Dataflow information is ignored. For this domain, we have shown that in practice the problem can be solved accurately and efficiently.(1) This paper studies empirically the effectiveness of this domain restriction, how many real references are affine and flow insensitive. We use Larus's llpp system(2) to find all the data dependences dynamically. We compare these to the results given by our affine memory disambiguation system. This system is exact for all the cases we see in practice. We show that while the affine approximation is reasonable, memory disambiguation is not a sufficient approximation for data dependence analysis. We propose extensions to improve the analysis.
[1]
James R. Larus.
Estimating the Potential Parallelism in Programs
,
1991
.
[2]
Utpal Banerjee,et al.
Dependence analysis for supercomputing
,
1988,
The Kluwer international series in engineering and computer science.
[3]
Geoffrey C. Fox,et al.
The Perfect Club Benchmarks: Effective Performance Evaluation of Supercomputers
,
1989,
Int. J. High Perform. Comput. Appl..
[4]
David R. Wallace,et al.
Dependence of multi-dimensional array references
,
1988,
ICS '88.
[5]
Alain Lichnewsky,et al.
Introducing symbolic problem solving techniques in the dependence testing phases of a vectorizer
,
1988,
ICS '88.
[6]
P. Feautrier.
Array expansion
,
1988
.
[7]
Monica S. Lam,et al.
Efficient and exact data dependence analysis
,
1991,
PLDI '91.
[8]
Zhiyuan Li,et al.
An Efficient Data Dependence Analysis for Parallelizing Compilers
,
1990,
IEEE Trans. Parallel Distributed Syst..