model: bugfix - inherit future values from previous loads
authorBrian Norris <banorris@uci.edu>
Sat, 23 Feb 2013 00:39:54 +0000 (16:39 -0800)
committerBrian Norris <banorris@uci.edu>
Sat, 23 Feb 2013 00:44:03 +0000 (16:44 -0800)
commit0b3c8355b0f1fdf7e4b983bef11472192405a9d9
tree0d28cd6c03fb1fc5c8ba74f8e05b31b6a69f0d2e
parentad07f2838b1b4b87c84f04ee67e0a28677a734ba
model: bugfix - inherit future values from previous loads

Once a future value is observed once, it should be available for
observation by other loads. Previously, we assume that a future value
will be passed to each load that may observe it. However, as
exemplified in the double-read-fv.c test, this may not be possible when
there are no other feasible stores from which to read.

Thus, when building an initial 'may-read-from' set, we should build a
set of inherited future values as well.
model.cc
model.h