[LLVMdev] Status of pre-legalize vector changes

Christopher Lamb christopher.lamb at gmail.com
Mon Jun 11 17:46:04 PDT 2007


On Jun 11, 2007, at 3:39 PM, Chris Lattner wrote:

> On Mon, 11 Jun 2007, Dan Gohman wrote:
>
> In particular, you should be able to introduce a new [V]CONCAT_VECTOR
> node, which takes two input vectors and yields an output vector  
> that has
> length equal to the sum of the input vectors.  Likewise, instead of  
> the
> extract_element hack, we should have an EXTRACT_SUBVECTOR node of some
> sort.
>
> Since no target support these nodes, they would all be expanded by
> legalize.

It may be possible to codegen EXTRACT_SUBVECTOR on some targets once  
subreg support is in.

--
Christopher Lamb



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070611/81400439/attachment.html>


More information about the llvm-dev mailing list