]> git.ipfire.org Git - thirdparty/gcc.git/commit
compute and check alignment info during analysis
authorRichard Biener <rguenther@suse.de>
Wed, 8 Jul 2020 11:50:51 +0000 (13:50 +0200)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:16:53 +0000 (13:16 -0300)
commit0178633576b55f034a41b1bd834a966269fc26d4
tree00b082e452dda4ba0f8b56833205304d496f3add
parent545aa83df9b14ce7a372f2092a004b8e4c9a133c
compute and check alignment info during analysis

This moves querying the alignment support scheme from load/store
transform time to get_load_store_type where we should know best
what alignment constraints we actually need.  This should make
verify_data_ref_alignment obsolete which prematurely disqualifies
all vectorization IMHO.

2020-07-08  Richard Biener  <rguenther@suse.de>

* tree-vect-stmts.c (get_group_load_store_type): Pass
in the SLP node and the alignment support scheme output.
Set that.
(get_load_store_type): Likewise.
(vectorizable_store): Adjust.
(vectorizable_load): Likewise.
gcc/tree-vect-stmts.c