Global Value Numbering (GVN) is an important static analysis to detect equivalent expressions in a program. We present an iterative data-flow analysis GVN algorithm in SSA for the purpose of detecting total redundancies. The central challenge is defining a join operation to detect equivalences at a join point in polynomial time such that later occurrences of redundant expressions could be detected. For this purpose, we introduce the novel concept of value ϕ-function. We claim the algorithm is precise and takes only polynomial time.
@article{arxiv.1504.03239,
title = {Global Value Numbering: A Precise and Efficient Algorithm},
author = {Rekha R Pai},
journal= {arXiv preprint arXiv:1504.03239},
year = {2015}
}
Comments
6 pages, 3 figures, an extended version to be submitted to journal