[PATCH] D48825: [DAGCombiner] Add EXTRACT_SUBVECTOR to SimplifyDemandedVectorElts

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 03:32:54 PDT 2018


RKSimon created this revision.
RKSimon added reviewers: spatel, craig.topper, efriedma, lebedev.ri.

As discussed on PR37989, this patch adds EXTRACT_SUBVECTOR handling to TargetLowering::SimplifyDemandedVectorElts and calls it from DAGCombiner::visitEXTRACT_SUBVECTOR.


Repository:
  rL LLVM

https://reviews.llvm.org/D48825

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/X86/avx-vperm2x128.ll
  test/CodeGen/X86/avx512-hadd-hsub.ll
  test/CodeGen/X86/oddshuffles.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48825.153692.patch
Type: text/x-patch
Size: 8749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180702/811352f6/attachment.bin>


More information about the llvm-commits mailing list