[llvm-dev] What is "splat" in BUILD_VECTOR?

Kyle Butt via llvm-dev llvm-dev at lists.llvm.org
Sat May 6 20:11:17 PDT 2017


Splat means to take a single value and build a vector out of identical
copies of that value. 4 ->  [4,4,4,4]

I'm not sure where the term came from.

On May 6, 2017 8:08 PM, "陳韋任 via llvm-dev" <llvm-dev at lists.llvm.org> wrote:

> Hi All,
>
>   First of all, I am not native English speaker. While reading
> BUILD_VECTOR related code, for example,
> PPCTargetLowering::LowerBUILD_VECTOR, I see "splat" here and there. Could
> someone explain what
> it is (does splat mean the same thing across the whole code base)?
> Besides, from my English dictionary,
> I don't know why we call such thing as "splat"... :p
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Homepage: https://people.cs.nctu.edu.tw/~chenwj
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170506/d7063a23/attachment.html>


More information about the llvm-dev mailing list