A solution to a problem with Morel and Renvoise's “Global optimization by suppression of partial redundancies”

  • Authors:
  • Karl-Heinz Drechsler;Manfred P. Stadel

  • Affiliations:
  • Siemens AG, ZTI SOF 22, Otto-Hahn-Ring 6, 800O München 83, Federal Republic of Germany;Siemens AG, ZTI SOF 22, Otto-Hahn-Ring 6, 800O München 83, Federal Republic of Germany

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 1988

Quantified Score

Hi-index 0.00

Visualization

Abstract

Morel and Renvoise have previously described a method for global optimization and code motion by suppression of partial redundancies [l]. Morel and Renvoise use data flow analysis to determine expression computations that should be inserted at the end of certain basic blocks and to determine redundant computations that can be eliminated. The execution of these techniques results in the movement of loop invariant expressions out of the loop. In addition to [l] Morel and Renvoise's techniques can also be applied to subexpressions of larger expressions. Then, however, in certain special cases these optimization techniques move expressions to places where some of its subexpressions are neither available nor moved together with the expression. In this paper we present a modification of Morel and Renvoise's algorithm that avoids the above described situations.