Commit a91ded4b by Richard Guenther Committed by Richard Biener

re PR tree-optimization/32921 (Revision 126326 causes 12% slowdown)

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

	PR tree-optimization/32921
	* tree-ssa-loop-im.c (mem_refs_may_alias_p): Disambiguate with TBAA.

From-SVN: r134838
parent d75900af
2008-04-30 Richard Guenther <rguenther@suse.de>
PR tree-optimization/32921
* tree-ssa-loop-im.c (mem_refs_may_alias_p): Disambiguate with TBAA.
2008-04-30 Richard Sandiford <rsandifo@nildram.co.uk> 2008-04-30 Richard Sandiford <rsandifo@nildram.co.uk>
* config/arm/arm.c (arm_unwind_emit): Use * config/arm/arm.c (arm_unwind_emit): Use
......
...@@ -1640,6 +1640,8 @@ mem_refs_may_alias_p (tree mem1, tree mem2, struct pointer_map_t **ttae_cache) ...@@ -1640,6 +1640,8 @@ mem_refs_may_alias_p (tree mem1, tree mem2, struct pointer_map_t **ttae_cache)
&& SSA_VAR_P (mem1) && SSA_VAR_P (mem1)
&& !AGGREGATE_TYPE_P (TREE_TYPE (mem1))) && !AGGREGATE_TYPE_P (TREE_TYPE (mem1)))
return false; return false;
if (!alias_sets_conflict_p (get_alias_set (mem1), get_alias_set (mem2)))
return false;
} }
/* The expansion of addresses may be a bit expensive, thus we only do /* The expansion of addresses may be a bit expensive, thus we only do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment