tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether ref is stored in the loop.
authorRichard Biener <rguenther@suse.de>
Thu, 21 Mar 2013 12:35:03 +0000 (12:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Mar 2013 12:35:03 +0000 (12:35 +0000)
commitcad1735b5d0f73d94c5d6ca79d0579dee4594d40
tree9b8b4730e71ad2fe9cf809fea5df98529d664591
parent141310ef523541959e048fe49e0b996374107b3b
tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether ref is stored in the loop.

2013-03-21  Richard Biener  <rguenther@suse.de>

* tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether
ref is stored in the loop.
(find_refs_for_sm): Walk only over all stores.
(store_motion_loop): Allocate from lim_bitmap_obstack.
(store_motion): Likewise.

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