]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/102905 - restore re-align load for alignment peeling
authorRichard Biener <rguenther@suse.de>
Mon, 25 Oct 2021 09:33:10 +0000 (11:33 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 25 Oct 2021 10:49:24 +0000 (12:49 +0200)
commit0b028fb4989c2bdfaf474b4493c5926fb40da3c3
tree6d3600708a581b0922363b96fbc9b38926077d0e
parent77b84fb0a8eac736f456e42b6a7801a76e4644eb
tree-optimization/102905 - restore re-align load for alignment peeling

Previous refactoring made the possibility of considering re-aligned
loads for unlimited cost model alignment peeling difficult so I
ditched that.  Later refactoring made it easily possible again so
the following patch re-instantiates this which should fix the
observed regression on powerpc with altivec.

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

PR tree-optimization/102905
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
Use vect_supportable_dr_alignment again to determine whether
an access is supported when not aligned.
gcc/tree-vect-data-refs.c