aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2018-12-20 11:39:59 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2018-12-20 11:39:59 +0000
commit1c852d1d7096a8833b4e8dc0755a749314c2113a (patch)
treea7ab4ddd34dbf6dc0e3bc3b434f9a5b493b35cc9 /gcc/tree-ssa-alias.c
parentf0355446cb66c85c5d4790c63bc53c3093186e8a (diff)
downloadgcc-1c852d1d7096a8833b4e8dc0755a749314c2113a.zip
gcc-1c852d1d7096a8833b4e8dc0755a749314c2113a.tar.gz
gcc-1c852d1d7096a8833b4e8dc0755a749314c2113a.tar.bz2
re PR tree-optimization/84362 (Auto-vectorization regression when accessing member variable through getter/accessor)
2018-12-20 Richard Biener <rguenther@suse.de> PR tree-optimization/84362 * tree-ssa-loop-im.c: Include alias.h, builtins.h and tree-dfa.h. (struct im_mem_ref): add ref_canonical flag. (struct mem_ref_hasher): Use ao_ref as compare_type. (mem_ref_hasher::equal): Adjust and add variant comparing ao_ref parts. (mem_ref_alloc): Take ao_ref parameter, initialize ref_canonical member. (gather_mem_refs_stmt): Set up ao_ref early and do the lookup using it. If we have non-equal refs canonicalize the one in the hashtable used for insertion. (tree_ssa_lim_initialize): Adjust. * g++.dg/vect/pr84362.cc: New testcase. From-SVN: r267296
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions