Displaying 2 results from an estimated 2 matches for "dbdadfa0".
2013 Oct 17
0
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
If what you are saying is that you know the array of i32 will always be 10
entries, make the function use a constant limit=10 to the loop.
I.e Make the loop limit a constant and not a variable.
On 11 October 2013 18:27, Matthieu Dubet <maattdd at gmail.com> wrote:
> Hi,
>
> I'm creating a small function in LLVM which gets as a parameter an i32*
> (this function is called
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