]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop bitmaps.
authorRichard Biener <rguenther@suse.de>
Fri, 22 Mar 2013 11:22:14 +0000 (11:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 22 Mar 2013 11:22:14 +0000 (11:22 +0000)
commitc00217fc2535186f7fe4536d2fa5581f23182903
tree2091ae548ff730d4307a9666a4cd30fa315ba5d0
parent7ad689673f91f57394ed8d7229b6b0b5f2a189ed
tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop bitmaps.

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

* tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop
bitmaps.
(gather_mem_refs_in_loops): Perform store accumulation here.
(create_vop_ref_mapping_loop): Remove.
(create_vop_ref_mapping): Likewise.
(analyze_memory_references): Initialize refs_stored_in_loop.
(LOOP_DEP_BIT): New define to map to bits in (in)dep_loop
bitmaps.
(record_indep_loop): Remove.
(record_dep_loop): New function.
(ref_indep_loop_p_1): Adjust to only walk over references
in the loop, not its subloops.
(ref_indep_loop_p): Rename to ...
(ref_indep_loop_p_2): ... this and recurse over the loop tree,
maintaining a more fine-grained cache.
(ref_indep_loop_p): Wrap ref_indep_loop_p_2.
(tree_ssa_lim_finalize): Free refs_stored_in_loop.

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