tree-ssa-loop-im.c (struct lim_aux_data): Add ref index member.
authorRichard Biener <rguenther@suse.de>
Mon, 21 Aug 2017 07:21:33 +0000 (07:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 21 Aug 2017 07:21:33 +0000 (07:21 +0000)
commit5164293abdea95879f97d4ad711aee010cdbbc95
treee10a98ed0df4323ffa945d5f25c690c0e4c065fe
parent8bd81a41a678d9c10540572de6249e8c7c4840cd
tree-ssa-loop-im.c (struct lim_aux_data): Add ref index member.

2017-08-21  Richard Biener  <rguenther@suse.de>

* tree-ssa-loop-im.c (struct lim_aux_data): Add ref index member.
(mem_ref_in_stmt): Remove.
(determine_max_movement): Use ref index to get at the reference.
(invariantness_dom_walker::before_dom_children): Deal with
lim data already initialized.
(gather_mem_refs_stmt): Initialize lim data and record ref index.

From-SVN: r251216
gcc/ChangeLog
gcc/tree-ssa-loop-im.c