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

Perry E. Metzger via llvm-dev llvm-dev at lists.llvm.org
Sun May 7 07:09:13 PDT 2017


On Sat, 6 May 2017 20:11:17 -0700 Kyle Butt via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> 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.

I was wondering this myself.

Would it be possible (in the spirit of the other discussion) to put
a clean explanation of this into http://llvm.org/docs/Lexicon.html ?
(That was where I first looked for an answer.)

Perry
-- 
Perry E. Metzger		perry at piermont.com


More information about the llvm-dev mailing list