[llvm-commits] [llvm] r112109 - /llvm/trunk/lib/Target/X86/README-SSE.txt

Chris Lattner sabre at nondot.org
Wed Aug 25 19:55:43 PDT 2010


On Aug 25, 2010, at 5:56 PM, Eli Friedman wrote:
>> +       pshufd  $16, %xmm0, %xmm1
>> +       movdqa  %xmm2, %xmm0
>> +       unpcklps        %xmm1, %xmm0
>> +       ret
>> +
>> +seems silly.
> 
> Err, just checking: you're suggesting this should turn into an addps?
> This seems like just "we don't have a straight-line vectorization
> pass".

Yeah that. :)  Actually it looks like it is just a couple of nice little instcombines away.

-Chris



More information about the llvm-commits mailing list