[PATCH] D66718: [DAGCombiner] (insert_vector_elt (vector_shuffle X, Y), (extract_vector_elt X, N), IdxC) -> (vector_shuffle X, Y)
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 25 09:37:10 PDT 2019
deadalnix created this revision.
deadalnix added reviewers: craig.topper, efriedma, RKSimon, lebedev.ri.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is beneficial when the shuffle is only used once and end up being generated in a few places when some node is combined into a shuffle.
Repository:
rL LLVM
https://reviews.llvm.org/D66718
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/madd.ll
test/CodeGen/X86/vector-shuffle-combining.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66718.217050.patch
Type: text/x-patch
Size: 10709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190825/2e96a38a/attachment.bin>
More information about the llvm-commits
mailing list