English

Copy Propagation subsumes Constant Propagation

Programming Languages 2022-07-11 v1

Abstract

Constant propagation and copy propagation are code transformations that may avoid some load operations and can enable other optimizations. In literature, constant and copy propagations are considered two independent transformations requiring two different data flow analyses. Here we give a generic definition for copy propagation which enables us to view constant propagation as a particular case of copy propagation and formulate a novel data flow analysis that unifies these two transformations.

Cite

@article{arxiv.2207.03894,
  title  = {Copy Propagation subsumes Constant Propagation},
  author = {Sreekala S. and Vineeth Paleri},
  journal= {arXiv preprint arXiv:2207.03894},
  year   = {2022}
}

Comments

4 pages, 2 figures

R2 v1 2026-06-25T00:45:22.985Z