[PATCH] Convert a vselect into a concat_vector if possible
Filipe Cabecinhas
filcab+llvm.phabricator at gmail.com
Tue May 27 19:21:27 PDT 2014
Moved the transform to DAGCombine.cpp, since it's generic, not X86 specific.
Also added the asserts Nadav requested and addressed the bug pointed out by Hal.
Nadav: Merging the loops would make for a big, complicated mess, instead
of two small, simple loops. I'd prefer to keep them separated, if you
don't mind.
http://reviews.llvm.org/D3916
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/Generic/select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3916.9860.patch
Type: text/x-patch
Size: 4126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140528/a0ef0efc/attachment.bin>
More information about the llvm-commits
mailing list