[PATCH] D49262: [DAGCombiner] Call SimplifyDemandedVectorElts from EXTRACT_VECTOR_ELT
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 16 08:12:24 PDT 2018
RKSimon updated this revision to Diff 155685.
RKSimon edited the summary of this revision.
RKSimon added a reviewer: atanasyan.
RKSimon added a subscriber: atanasyan.
RKSimon added a comment.
Herald added subscribers: jrtc27, sdardis.
Updated with SystemZ fix to permit permute decode of target shuffles (well, SPLAT) as well - @uweigand does that look OK to you?
I've generalized DAGCombiner::visitEXTRACT_VECTOR_ELT to handle the case where the source vector has multiple uses, if all of them are EXTRACT_VECTOR_ELT we now accumulate the demanded mask accordingly - this simplifies some MIPS vector codegen so adding @atanasyan to take a look.
Repository:
rL LLVM
https://reviews.llvm.org/D49262
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/SystemZ/SystemZISelLowering.cpp
test/CodeGen/AMDGPU/indirect-addressing-si.ll
test/CodeGen/ARM/func-argpassing-endian.ll
test/CodeGen/Mips/cconv/vector.ll
test/CodeGen/X86/dagcombine-cse.ll
test/CodeGen/X86/extractelement-load.ll
test/CodeGen/X86/known-bits-vector.ll
test/CodeGen/X86/oddshuffles.ll
test/CodeGen/X86/scalar_widen_div.ll
test/CodeGen/X86/vec_shift7.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49262.155685.patch
Type: text/x-patch
Size: 55338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180716/a018ddd3/attachment.bin>
More information about the llvm-commits
mailing list