Displaying 7 results from an estimated 7 matches for "dubet".
Did you mean:
dube
2013 Oct 16
2
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
...;getDataLayout())) ;" in the
code, the module->dump() doesn't output neither data layout, nor triple
target
Both those points might confuse the vectorizer ?
On Fri, Oct 11, 2013 at 1:40 PM, Renato Golin <renato.golin at linaro.org>wrote:
> 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 spo...
2013 Oct 17
0
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
On Wed, Oct 16, 2013 at 11:14:06AM -0400, Matthieu Dubet wrote:
> 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 acti...
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 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
2013 Oct 17
1
[LLVMdev] Converting a i32 pointer to a vector of i32 ( C array to LLVM vector)
...run the SLP-vectorizer with the flag -mllvm -debug-only=SLP and attach the log ? I think that we are missing the pattern for the roots of the tree.
Thanks,
Nadav
On Oct 16, 2013, at 5:28 PM, Tom Stellard <tom at stellard.net> wrote:
> On Wed, Oct 16, 2013 at 11:14:06AM -0400, Matthieu Dubet wrote:
>> 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
>&...
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 from C code) .
>
> However I know that this pointer is actually a C array of size 10 (
> int[10] ).
>
> How can I tell LLV...
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...