[PATCH] Added tests for shufflevector lowering to blend instrs.These tests ensure that a change I will propose in clang works asexpected.

Nadav Rotem nrotem at apple.com
Fri May 2 18:02:42 PDT 2014


On May 2, 2014, at 6:00 PM, Filipe Cabecinhas <filcab+llvm.phabricator at gmail.com> wrote:

> I'm not sure it's possible.

It is possible to represent blends using vector selects in the IR. Are you missing a clang builtin? 

> I'm generating them from the headers for the intrinsics, I don't know if it's possible to directly generate selects. Let me know if I'm missing something.
> 
> Here's the patch.
> 
> http://reviews.llvm.org/D3601#C75942NL780
> 
> Filipe
> 
> 
> On Fri, May 2, 2014 at 4:54 PM, Nadav Rotem <nrotem at apple.com> wrote:
> 
> On May 2, 2014, at 4:50 PM, Filipe Cabecinhas <filcab+llvm.phabricator at gmail.com> wrote:
> 
>> I'm proposing a patch for clang's simd intrinsics to generate
>> shufflevectors from the blend intrinsics.
> 
> 
> Why are you not generating vector selects?  
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140502/dcd2f9e5/attachment.html>


More information about the llvm-commits mailing list