[all-commits] [llvm/llvm-project] 6cbd91: [AArch64][GlobalISel] Combine G_UNMERGE(G_DUPLANE1...

David Green via All-commits all-commits at lists.llvm.org
Mon Jun 9 12:58:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cbd91ea52cbf2b27dc92557cea64f5fd305fcf1
      https://github.com/llvm/llvm-project/commit/6cbd91ea52cbf2b27dc92557cea64f5fd305fcf1
  Author: David Green <david.green at arm.com>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Combine.td
    A llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-unmergedup.mir
    M llvm/test/CodeGen/AArch64/arm64-dup.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-2velem.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Combine G_UNMERGE(G_DUPLANE16) -> G_DUPLANE16 (#142731)

We will generate G_UNMERGE(G_DUPLANE16) due to the legalization of
shuffle vector splats with mismatching vector sizes. The G_DUPLANE
intrinsics can handle different vector sizes (128bit and 64bit output,
for example), and we can combine away the unmerge.



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