Unexpected side effects of inline substitution: a case study

  • Authors:
  • Keith D. Cooper;Mary W. Hall;Linda Torczon

  • Affiliations:
  • Rice Univ., Houston, TX;Rice Univ., Houston, TX;Rice Univ., Houston, TX

  • Venue:
  • ACM Letters on Programming Languages and Systems (LOPLAS)
  • Year:
  • 1992

Quantified Score

Hi-index 0.00

Visualization

Abstract

The structure of a program can encode implicit information that changes both the shape and speed of the generated code. Interprocedural transformations like inlining often discard such information; using interprocedural data-flow information as a basis for optimization can have the same effect.In the course of a study on inline substitution with commercial FORTRAN compilers, we encountered unexpected performance problems in one of the programs. This paper describes the specific problem that we encountered, explores its origins, and examines the ability of several analytical techniques to help the compiler avoid similar problems.