compute and check alignment info during analysis
authorRichard Biener <rguenther@suse.de>
Wed, 8 Jul 2020 11:50:51 +0000 (13:50 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 8 Jul 2020 15:15:36 +0000 (17:15 +0200)
commit30fdaead5b7880c4e9f140618e26ad1c545642d5
tree5580076a4b94e73d1e1900c57832d976f8200e25
parent0cb1b7276d0dad50678ac80a416e748e3d0a6ff2
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