[DAGCombiner] (insert_vector_elt (vector_shuffle X, Y), (extract_vector_elt X…

Authored by Amaury Sechet <deadalnix@gmail.com> on Aug 29 2019, 3:35 AM.


[DAGCombiner] (insert_vector_elt (vector_shuffle X, Y), (extract_vector_elt X, N), IdxC) -> (vector_shuffle X, Y)

Summary: 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.

Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66718

llvm-svn: 370326

Event Timeline

Amaury Sechet <deadalnix@gmail.com> committed rG8365e420108f: [DAGCombiner] (insert_vector_elt (vector_shuffle X, Y), (extract_vector_elt X… (authored by Amaury Sechet <deadalnix@gmail.com>).Aug 29 2019, 3:35 AM