tree-optimization/96376 - do not check alignment for invariant loads
authorRichard Biener <rguenther@suse.de>
Fri, 15 Jan 2021 13:20:43 +0000 (14:20 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 15 Jan 2021 14:07:43 +0000 (15:07 +0100)
commit446703ccc2ce09e9710964f781a21030bf3c2d54
tree0480e330b41566cac5233685f672f32fb77817fa
parentdc8475e3348405ce3113364746b64d029a05c343
tree-optimization/96376 - do not check alignment for invariant loads

The testcases show that we fail to disregard alignment for invariant
loads.  The patch handles them like we handle gather and scatter.

2021-01-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/96376
* tree-vect-stmts.c (get_load_store_type): Disregard alignment
for VMAT_INVARIANT.
gcc/tree-vect-stmts.c