Set-sharing is redundant for pair-sharing

  • Authors:
  • Roberto Bagnara;Patricia M. Hill;Enea Zaffanella

  • Affiliations:
  • Univ. di Parma, Parma, Italy;Univ. of Leeds, Leeds, UK;Univ. di Parma, Parma, Italy

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2002

Quantified Score

Hi-index 5.23

Visualization

Abstract

Although the usual goal of sharing analysis is to detect which pairs of variables share, the standard choice for sharing analysis is a domain that characterizes set-sharing. In this paper, we question, apparently for the first time, whether this domain is over-complex for pair-sharing analysis. We show that the answer is yes. By defining an equivalence relation over the set-sharing domain we obtain a simpler domain, reducing the complexity of the abstract unification procedure. We present experimental results showing that, in practice, our domain compares favorably with the set-sharing one over a wide range of benchmark and real programs. Copyright 2002 Elsevier Science B.V.