as highlevel languages (like opencl) support operations with a vector
on one side and a scalar on the other side (e.g. vector * scalar) it would
be convenient if llvm ir would have a splat instruction that takes
a scalar and produces a vector with all elements filled with the scalar.
i assume that i'm not the first one who has this idea so what was
the reason not to include such an instruction?
a splat instruction would also be handy to scalarize the code as much
as possible before outputting it again to a highlevel language.