Reduce the number of aligned_access_p calls
authorRichard Biener <rguenther@suse.de>
Mon, 18 Oct 2021 11:54:34 +0000 (13:54 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 18 Oct 2021 13:18:03 +0000 (15:18 +0200)
commitc9ff4581841f079e00d37fa7743021c62c935315
treeb12f22eb30c89b2ff54a76df24756c7563219a3e
parentb0ea7a8409aa4afd0b0fd874b232766a758c0bc6
Reduce the number of aligned_access_p calls

This uses the computed alignment scheme in vectorizable_store
much like vectorizable_load does instead of re-querying
it via aligned_access_p.

2021-10-18  Richard Biener  <rguenther@suse.de>

* tree-vect-stmts.c (vectorizable_store): Use the
computed alignment scheme instead of querying
aligned_access_p.
gcc/tree-vect-stmts.c