[PATCH] Convert a vselect into a concat_vector if possible

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Mon May 26 20:36:45 PDT 2014


Hi nadav, delena, grosbach,

If both vector args to vselect are concat_vectors and the condition is
constant and picks half a vector from each argument, convert the vselect
into a concat_vectors.

Added tests.

http://reviews.llvm.org/D3916

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vselect.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3916.9818.patch
Type: text/x-patch
Size: 4661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140527/643296b4/attachment.bin>


More information about the llvm-commits mailing list