Displaying 3 results from an estimated 3 matches for "545d0f5a".
2013 Oct 11
0
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
On 11 October 2013 18:27, Matthieu Dubet <maattdd at gmail.com> wrote:
> How can I tell LLVM to consider this i32* as an <10 x i32> (and thus get
> the performance improvements thanks to SIMD ..etc..) ?
>
Hi Matthieu,
You shouldn't need to do anything, the vectorizer should spot that for you,
if the machine you're compiling to has support for vector instructions.
2013 Oct 11
4
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
Hi,
I'm creating a small function in LLVM which gets as a parameter an i32*
(this function is called from C code) .
However I know that this pointer is actually a C array of size 10 ( int[10]
).
How can I tell LLVM to consider this i32* as an <10 x i32> (and thus get
the performance improvements thanks to SIMD ..etc..) ?
Thanks,
Matthieu
-------------- next part --------------
An
2013 Oct 16
2
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
...re the code (or a similar example)
> with the list, people could help you spot the pattern and make it vectorize.
>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131016/545d0f5a/attachment.html>