tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
authorRichard Guenther <rguenther@suse.de>
Tue, 15 Apr 2008 13:28:08 +0000 (13:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Apr 2008 13:28:08 +0000 (13:28 +0000)
commit649caaad399d6f4865a4d0015a1ac76c3cce7eb0
tree9098d5ac54a9f0a83f6c1809c9d7cb33b7f481de
parent462c31ef75b495fd95f18a91864c471d2cb76494
tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.

2008-04-15  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
* tree-ssa-sccvn.c (vn_reference_lookup): New parameter maywalk.
(visit_reference_op_load): Do walk vuse-vdef chains on
vn_reference_lookup.
(visit_reference_op_store): But do not here.
* tree-vn.c (vn_lookup): Do not walk vuse-vdef chains on
vn_reference_lookup.
(vn_lookup_with_vuses): But do so here.

From-SVN: r134314
gcc/ChangeLog
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-sccvn.h
gcc/tree-vn.c