[PATCH] D12125: [DAGCombiner] Fold CONCAT_VECTORS of EXTRACT_SUBVECTOR (or undef) to VECTOR_SHUFFLE.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 06:20:25 PDT 2015


RKSimon updated this revision to Diff 32541.
RKSimon added a comment.

Thanks Andrea, we've used the (Level < AfterLegalizeVectorOps && TLI.isTypeLegal(VT)) pattern in a lot of other shuffle code so don't have a problem adding it here.


Repository:
  rL LLVM

http://reviews.llvm.org/D12125

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/pr15267.ll
  test/CodeGen/X86/vector-shuffle-256-v16.ll
  test/CodeGen/X86/vector-shuffle-256-v4.ll
  test/CodeGen/X86/vector-shuffle-256-v8.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12125.32541.patch
Type: text/x-patch
Size: 9719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150819/dbad78f0/attachment.bin>


More information about the llvm-commits mailing list