[PATCH] Convert a vselect into a concat_vector if possible

hfinkel at anl.gov hfinkel at anl.gov
Wed May 28 01:05:51 PDT 2014


----- Original Message -----
> From: "Filipe Cabecinhas" <filcab+llvm.phabricator at gmail.com>
> To: "filcab+llvm phabricator" <filcab+llvm.phabricator at gmail.com>, nrotem at apple.com, "elena demikhovsky"
> <elena.demikhovsky at intel.com>, grosbach at apple.com
> Cc: hfinkel at anl.gov, llvm-commits at cs.uiuc.edu
> Sent: Wednesday, May 28, 2014 2:48:17 AM
> Subject: Re: [PATCH] Convert a vselect into a concat_vector if possible
> 
> If half is undef, and the other half is X (either true or false),
> this will
> fall under the if statements before the call to this function in
> visitSELECT. Around line 4707 (isBuildVectorAll{Zeros,Ones}). I also
> added
> a comment at the call site of this function.

Ah, right. isBuildVectorAllZeros also skips undefs.

 -Hal

> 
> Filipe
> 
> http://reviews.llvm.org/D3916
> 
> 
>

http://reviews.llvm.org/D3916






More information about the llvm-commits mailing list