[all-commits] [llvm/llvm-project] bc9e7a: [SelectionDAG] fold interleave of contiguous splat...

Kamlesh Kumar via All-commits all-commits at lists.llvm.org
Mon Sep 21 06:46:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc9e7ae8e828ffa5f59f700a8a0d5fb54e0f6ba9
      https://github.com/llvm/llvm-project/commit/bc9e7ae8e828ffa5f59f700a8a0d5fb54e0f6ba9
  Author: Kamlesh Kumar <kamlesh.kumar at arm.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AArch64/vector-interleave-consecutive-splats.ll

  Log Message:
  -----------
  [SelectionDAG] fold interleave of contiguous splats (#224318)

When operands of vector_interleave is splats and each splat's is from a
contiguous source , interleave operations can be folded to shuffles of
source of splat.
i.e.
interleave(splat(S[J]), splat(S[J+1]), splat(S[J+2]), ..., splat(S[J +
Factor - 1]))
can be folded to
shuffles (S[J], S[J+1], S[J+Factor -1], S[J]....)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list