Compute value number when the value table is constructed.
authorSteven Perron <stevenperron@google.com>
Mon, 27 Nov 2017 20:07:34 +0000 (15:07 -0500)
committerSteven Perron <stevenperron@google.com>
Mon, 4 Dec 2017 16:02:04 +0000 (11:02 -0500)
commitb35b52f97b13769f643dec7efad1e18d3064a345
tree2d9658bc2dd174b6dcab36cea9d50098af02e957
parentb98254b282a536a56c3578e1dadfd11d3e666f18
Compute value number when the value table is constructed.

Computing the value numbers on demand, as we do now, can lead to
different results depending on the order in which the users asks for
the value numbers.  To make things more stable, we compute them ahead
of time.
source/opt/local_redundancy_elimination.cpp
source/opt/value_number_table.cpp
source/opt/value_number_table.h
test/opt/value_table_test.cpp