Displaying 6 results from an estimated 6 matches for "maattd".
Did you mean:
maattdd
2013 Nov 05
3
[LLVMdev] LLVM IR vectorized with opt but not through the API
Hi,
I have a simple LLVM code which loop over an array and do a simple
calculation, the bytecode is here : https://gist.github.com/maattd/7322927
This code is correctly vectorized with LLVM opt 3.3, however I can't get it
to vectorize with call through the API.
Is there a way to debug the LLVM vectorizer pass with the API ?
Is there a way to just apply the exact same optimization passes as the opt
tool ? I've tried llvm::C...
2013 Oct 16
2
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
Hi,
Thank you for the information,
So I'm now keeping the array as a pointer (i32*) but the vectorizer doesn't
vectorize it .
I've pasted the function code before and after optimization (and the list
of optimization that I have activated) in this Gist :
https://gist.github.com/maattd/7008683
Some "weird" fact of my LLVM code :
* all variables (even the one used for the loop condition) are pointers to
memory allocated from the C world and passed to the LLVM functions as an
argument
* even with "opt->add(new llvm::DataLayout(*ee->getDataLayout())) ;" i...
2013 Oct 17
0
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
...mation,
>
> So I'm now keeping the array as a pointer (i32*) but the vectorizer doesn't
> vectorize it .
>
> I've pasted the function code before and after optimization (and the list
> of optimization that I have activated) in this Gist :
> https://gist.github.com/maattd/7008683
>
> Some "weird" fact of my LLVM code :
>
> * all variables (even the one used for the loop condition) are pointers to
> memory allocated from the C world and passed to the LLVM functions as an
> argument
> * even with "opt->add(new llvm::DataLayout(...
2013 Oct 17
1
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
...o I'm now keeping the array as a pointer (i32*) but the vectorizer doesn't
>> vectorize it .
>>
>> I've pasted the function code before and after optimization (and the list
>> of optimization that I have activated) in this Gist :
>> https://gist.github.com/maattd/7008683
>>
>> Some "weird" fact of my LLVM code :
>>
>> * all variables (even the one used for the loop condition) are pointers to
>> memory allocated from the C world and passed to the LLVM functions as an
>> argument
>> * even with "opt-&...
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 com...
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