[llvm] [AArch64][GlobalISel] Combine G_EXTRACT_VECTOR_ELT and G_BUILD_VECTOR sequences into G_SHUFFLE_VECTOR (PR #110545)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 13:09:27 PDT 2024


arsenm wrote:

FWIW the DAG does try to do this: https://github.com/llvm/llvm-project/blob/f0ed31ce4b63a5530fd1de875c0d1467d4d2c6ea/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp#L24096

I can see this pattern appearing if some operations require some degree of vector splitting, and others do not 

https://github.com/llvm/llvm-project/pull/110545


More information about the llvm-commits mailing list