tree-ssa-sccvn.h (vn_reference_lookup): Add last_vuse_ptr argument.
authorRichard Biener <rguenther@suse.de>
Thu, 4 Jul 2019 07:35:12 +0000 (07:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 4 Jul 2019 07:35:12 +0000 (07:35 +0000)
commitee7904e91fcdafd4211f89e0244354467d78a3c2
tree631b7209bcc5a0b47ca9959a7d62d647e0d99936
parent6f01ad76c11eacc9f32539f769e4cb3fd169466a
tree-ssa-sccvn.h (vn_reference_lookup): Add last_vuse_ptr argument.

2019-07-04  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.h (vn_reference_lookup): Add last_vuse_ptr
argument.
* tree-ssa-sccvn.c (last_vuse_ptr, vn_walk_kind): Move
globals into...
(struct vn_walk_cb_data): New callback data struct.
(vn_reference_lookup_2): Adjust.
(vn_reference_lookup_3): Likewise.
(vn_reference_lookup_pieces): Likewise.
(vn_reference_lookup): Likewise, get last_vuse_ptr argument.
(visit_reference_op_load): Adjust.

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