[LLVMdev] Can LLVM vectorize <2 x i32> type
suyog sarda
sardask01 at gmail.com
Fri Jun 26 03:49:09 PDT 2015
>
> Is LLVM be able to generate code for the following code?
>
> %mul = mul <2 x i32> %1, %2, where %1 > and %2 are <2 x i32> type.
> I am running it on a Haswell processor with LLVM-3.4.2. It seems that it
will generates really complicated code with vpaddq, vpmuludq, vpsllq,
vpsrlq.
>
Can you please elaborate more on what is your test case and what do you
want to see the final output? It will be good if you can give test case you
are running LLVM on.
Regards,
Suyog Sarda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150626/29a89071/attachment.html>
More information about the llvm-dev
mailing list