Re: [PATCH] vect: Use original LHS type for gather pattern [PR118950].

2025-02-24 Thread Richard Biener
On Mon, 24 Feb 2025, Robin Dapp wrote: > Hi, > > in PR118950 we do not zero masked elements in a gather load. > While recognizing a gather/scatter pattern we do not use the original > type of the LHS. This matters because the type can differ with bool > patterns (e.g. _Bool vs unsigned char) and

[PATCH] vect: Use original LHS type for gather pattern [PR118950].

2025-02-24 Thread Robin Dapp
Hi, in PR118950 we do not zero masked elements in a gather load. While recognizing a gather/scatter pattern we do not use the original type of the LHS. This matters because the type can differ with bool patterns (e.g. _Bool vs unsigned char) and we don't notice the need for zeroing out the paddin