[llvm-dev] [RFC] Supporting ARM's SVE in LLVM

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 28 06:28:20 PST 2016


On 28 November 2016 at 11:19, Paul Walker <Paul.Walker at arm.com> wrote:
> What is the relevance of the vector’s element type.  The induction variable update is purely in terms of elements, it doesn’t care about its type. If you need to reference the vector length in bytes you would simply multiply it by the size of vector’s element type just as we do for non-scalable vectors.

For pointer inductions, you have to add the total size, not the index
count. Wouldn't that need the final vector size?

I'm just trying to figure out is there's any pass that is any pass
that needs to know the vector's actual length. I'm not saying there
is... :)

cheers,
--renato


More information about the llvm-dev mailing list