Refine alingment peeling fix
authorRichard Biener <rguenther@suse.de>
Thu, 30 Sep 2021 11:05:45 +0000 (13:05 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 30 Sep 2021 11:08:16 +0000 (13:08 +0200)
commit09f032c22053f178c802d83a1dea49a0d47c7cc4
tree98bf64d034599586da5e535e9a4cdb2193240dbf
parentc2dc29c4a54b8d80c4fbd753d65b75f4313ffec3
Refine alingment peeling fix

This refines the previous fix further by reverting to the original
code since the API is a bit of a mess.  It also fixes the vector type
used to query the misalignment - that was what triggered the original
bogus change.

2021-09-30  Richard Biener  <rguenther@suse.de>

* tree-vect-data-refs.c (vect_update_misalignment_for_peel):
Restore and fix condition under which we apply npeel to
the DRs misalignment value.
gcc/tree-vect-data-refs.c