[llvm-dev] One element vectors versus scalars

Martin J. O'Riordan via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 10 04:00:27 PST 2015


I am curious as to why LLVM has explicit support for 1 element vectors, for
example 'v1i32'.  Are there some contexts where handling a value as a 1
element vector can yield better code quality than the corresponding scalar
'i32'?

 

Thanks,

 

            MartinO

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151110/8ede523c/attachment.html>


More information about the llvm-dev mailing list