[llvm-commits] [AVX] Add EXTRACT_SUBVECTOR to DAGCombine

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Mon Sep 19 16:41:02 PDT 2011


Hi Zvi,

On Mon, Sep 19, 2011 at 11:31 AM, Rackover, Zvi <zvi.rackover at intel.com> wrote:
> Hi Bruno and other codegen people,
>
>
>
> Please review the attached patch and commit if acceptable.
>
> I categorized this patch as AVX, since I am not aware of other cases in X86
> where it shows any benefit.

You should be looking in INSERT_SUBVECTOR instead of extract, because
is the undef
being inserted in the upper part that you want to catch. I provided
another fix for this in r140097

Thanks

-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc



More information about the llvm-commits mailing list