ACM Home Page
Please provide us with feedback. Feedback
E-path_PRE: partial redundancy elimination made easy
Full text PdfPdf (1.13 MB)
Source ACM SIGPLAN Notices archive
Volume 37 ,  Issue 8  (August 2002) table of contents
COLUMN: Technical correspondence table of contents
Pages: 53 - 65  
Year of Publication: 2002
ISSN:0362-1340
Author
Dhananjay M. Dhamdhere  Indian Institute of Technology, Mumbai 400076 (India)
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 25,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/596992.597004
What is a DOI?

ABSTRACT

Partial redundancy elimination (PRE) subsumes the classical optimizations of loop invariant movement and common subexpression elimination. The original formulation of PRE involved complex bi-directional data flows and had two major deficiencies---missed optimization opportunities and redundant code movement. To eliminate redundant code movement, most current PRE approaches use a hoisting-followed-by-sinking approach. Unfortunately, this approach has a high conceptual complexity and requires complicated correctness proofs.We show that optimization by partial redundancy elimination is simpler than it has been made out to be. Its essence is the concept of eliminatability of an expression. We show that E-path_PRE, a formulation of PRE based on the concept of eliminatability paths (E-paths), is easy to understand and simple to prove correct. It uses only well-known data flow concepts of available expressions and anticipatable (i.e. very-busy) expressions to directly identify code insertion points which avoid redundant code movement. These features reduce the conceptual complexity of PRE considerably. Interestingly, performance studies show that E-path_PRE is also less expensive to perform than the closest equivalent approach to PRE. This is a sheer bonus.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
3
4
 
5
 
6
D. M. Dhamdhere. A new algorithm for composite hoisting and strength reduction optimisation. International Journal of Computer Mathematics, 27:1-14, 1989.
 
7
8
 
9
D. M. Dhamdhere and J. R. Isaac. A composite algorithm for strength reduction and code movement. International Journal of Computers and Information Sciences, pages 243-273, 1980.
10
11
12
 
13
V. M. Dhaneshwar and D. M. Dhamdhere. Strength reduction of large expressions. Journal of Programming Languages, 3:95-120, 1995.
14
15
 
16
S. M. Joshi and D. M. Dhamdhere. A composite hoisting-strength reduction transformation for global program optimisation, Parts I and II. International Journal of Computer Mathematics, 11(1 & 2):21-24 & 111-126, 1982.
 
17
K. Kennedy. Safety of code movement. International Journal of Computer Mathematics, 3:112-130, 1972.
 
18
19
20
21
22
23
24
25
 
26
27
28
 
29
30
 
31
32


Collaborative Colleagues:
Dhananjay M. Dhamdhere: colleagues