[PATCH] Scalarize select vector arguments when extracted
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Aug 27 18:36:08 PDT 2013
Hi nadav,
When the elements are extracted from a select, do the select on the extracted scalars from the input.
With this, the vectorizer still isn't able to put a vector select back together. It is skipped because some of the insertelements are before the last select being vectorized.
Also fixes some missing CHECK-LABELs in the test that changed, but those are separate.
http://llvm-reviews.chandlerc.com/D1539
Files:
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
test/Transforms/InstCombine/select-extractelement.ll
test/Transforms/LoopVectorize/minmax_reduction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1539.1.patch
Type: text/x-patch
Size: 13341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130827/350c7ca4/attachment.bin>
More information about the llvm-commits
mailing list