[LLVMdev] Failure to optimize vector select

Nadav Rotem nrotem at apple.com
Tue Aug 20 10:26:18 PDT 2013


I suspect that in the IR you will see a sequence of inserts. At the moment the SLP-vectorizer does not look at “insert” sequences. But it should be really easy (and beneficial) to. 

On Aug 20, 2013, at 10:22 AM, Nadav Rotem <nrotem at apple.com> wrote:

> Can you send the IR of the function ?  
> 
> On Aug 20, 2013, at 8:36 AM, Matt Arsenault <arsenm2 at gmail.com> wrote:
> 
>> 
>> On Aug 19, 2013, at 18:47 , Eugene Toder <eltoder at gmail.com> wrote:
>> 
>>> Have you tried running SLP vectorizer pass (-vectorize-slp)?
>> Yes. That was the first thing i tried, and it didn't do anything. I was looking the vectorizer, but then I saw some things that made me wonder if it was even supposed to do this
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 





More information about the llvm-dev mailing list