[PATCH] D37186: [DAGCombiner] Teach visitEXTRACT_SUBVECTOR to turn extracts of BUILD_VECTOR into smaller BUILD_VECTORs
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 26 20:13:45 PDT 2017
craig.topper created this revision.
Only do this before operations are legalized of BUILD_VECTOR is Legal for the target.
https://reviews.llvm.org/D37186
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2012-1-10-buildvector.ll
test/CodeGen/X86/fold-vector-sext-zext.ll
test/CodeGen/X86/masked_gather_scatter.ll
test/CodeGen/X86/pr34139.ll
test/CodeGen/X86/widen_extract-1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37186.112802.patch
Type: text/x-patch
Size: 7180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170827/45017149/attachment.bin>
More information about the llvm-commits
mailing list