[PATCH] FIx PR16026

Nadav Rotem nrotem at apple.com
Wed Jun 5 12:04:15 PDT 2013


On Jun 5, 2013, at 11:17 AM, Michael Liao <michael.liao at intel.com> wrote:

> The patch doesn't disable that but try
> to simplify it by deferring when one of the operand of that build_vector
> has the pattern of (extract_vector_elt (shuffle_vector ..)).

The patch disables this optimization when one of the operands extract from a vector. I am not sure I understand the motivation. I understand that it helps your test case, but if this is a good change, why not apply it to concat_vector, or build_vector as well. Why only shuffle_vector ?  

Nadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130605/134a660d/attachment.html>


More information about the llvm-commits mailing list