i965/fs: Create the COPY() set for use in copy propagation dataflow.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 9 Aug 2013 06:29:56 +0000 (23:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 18:29:24 +0000 (11:29 -0700)
commit597efd2b67d1afb8a95be38145c4f977ed36b672
tree884455ef3e1c127876c1293aee9b58f9680e6780
parent669d4d7f77648948800abce59bc99a29a338a3ad
i965/fs: Create the COPY() set for use in copy propagation dataflow.

This is the "COPY" set from Muchnick's textbook, which is necessary
to do the dataflow algorithm correctly.

v2: Simplify initialization based on Paul Berry's observation that
    out_acp contains exactly what needs to be in the COPY set.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp