On Tue, Oct 07, 2025 at 06:01:01PM +0200, Richard Biener wrote:
> > ...
> > This makes sense and works for SVE predicate vectors with one caveat...
> > 
> >> types and in that case figure out the right stride (1, 2, 4, 8, ...)
> > 
> > 
> > would imply that TYPE_PRECISION (element_type) is always 1? In this case
> > we can probably use this:
> > 
> > VECTOR_BOOLEAN_TYPE_P (type) && TYPE_PRECISION (element_type) == 1
> 
> IIRC this doesn’t work for SVE.

I've tested that this works well with both SVE enabled globally via command-line
flag and locally for a function.

Yury

Reply via email to