tree-optimization/101861 - fix gather use for non-gather refs
authorRichard Biener <rguenther@suse.de>
Wed, 11 Aug 2021 09:49:10 +0000 (11:49 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 11 Aug 2021 10:55:24 +0000 (12:55 +0200)
commitf19c70afa4aa2416c581484a6eb51c0ac46acd08
tree292671b10bbcdd4d5d149be4a6d0a2b91dbf0652
parentb8f604da25bfe0fd4dadbc338293885819fe8018
tree-optimization/101861 - fix gather use for non-gather refs

My previous change broke the usage of gather for strided loads.
The following fixes it.

2021-08-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/101861
* tree-vect-stmts.c (vectorizable_load): Fix error in
previous change with regard to gather vectorization.
gcc/tree-vect-stmts.c