Displaying 4 results from an estimated 4 matches for "tghpc4y0".
2013 May 09
2
[LLVMdev] Simple Loop Vectorize Question
Hi! I am trying to get the loop vectorizer to work on a simple example
(http://pastebin.com/tGhpc4y0) that doubles every element in a vector.
I've found that 'opt -loop-vectorize -force-vector-width=4 -S -debug
double.ll' works as expected. However, removing the -force-vector-width flag
results in no vectorization. From the debug output I can see that the issue
boils down to:
LV: The...
2013 May 10
2
[LLVMdev] Simple Loop Vectorize Question
...s. Try adding the '-mcpu=XXXX' to opt and see what
> happens.
>
> Thanks,
> Nadav
>
> On May 9, 2013, at 1:42 PM, Josh Klontz <josh.klontz at gmail.com> wrote:
>
> Hi! I am trying to get the loop vectorizer to work on a simple example
> (http://pastebin.com/tGhpc4y0) that doubles every element in a vector.
>
> I've found that 'opt -loop-vectorize -force-vector-width=4 -S -debug
> double.ll' works as expected. However, removing the -force-vector-width
> flag
> results in no vectorization. From the debug output I can see that the issue...
2013 May 09
0
[LLVMdev] Simple Loop Vectorize Question
...a machine with vector registers. Try adding the '-mcpu=XXXX' to opt and see what happens.
Thanks,
Nadav
On May 9, 2013, at 1:42 PM, Josh Klontz <josh.klontz at gmail.com> wrote:
> Hi! I am trying to get the loop vectorizer to work on a simple example
> (http://pastebin.com/tGhpc4y0) that doubles every element in a vector.
>
> I've found that 'opt -loop-vectorize -force-vector-width=4 -S -debug
> double.ll' works as expected. However, removing the -force-vector-width flag
> results in no vectorization. From the debug output I can see that the issue
>...
2013 May 10
0
[LLVMdev] Simple Loop Vectorize Question
...adding the '-mcpu=XXXX' to opt and see what happens.
>
> Thanks,
> Nadav
>
> On May 9, 2013, at 1:42 PM, Josh Klontz <josh.klontz at gmail.com> wrote:
>
>> Hi! I am trying to get the loop vectorizer to work on a simple example
>> (http://pastebin.com/tGhpc4y0) that doubles every element in a vector.
>>
>> I've found that 'opt -loop-vectorize -force-vector-width=4 -S -debug
>> double.ll' works as expected. However, removing the -force-vector-width flag
>> results in no vectorization. From the debug output I can see th...