[all-commits] [llvm/llvm-project] acd264: [AArch64][GlobalISel] Prefer DUPLANE to REV and ot...

David Green via All-commits all-commits at lists.llvm.org
Sun Jun 8 23:47:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acd264d0ace52c7fd4d10a20bd20a739040058c7
      https://github.com/llvm/llvm-project/commit/acd264d0ace52c7fd4d10a20bd20a739040058c7
  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
    M llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-ext.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-rev.mir
    M llvm/test/CodeGen/AArch64/arm64-neon-add-pairwise.ll
    M llvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll
    M llvm/test/CodeGen/AArch64/bitcast.ll
    M llvm/test/CodeGen/AArch64/dup.ll
    M llvm/test/CodeGen/AArch64/shufflevector.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Prefer DUPLANE to REV and other shuffles (#142725)

Some shuffles containing undefs can match multiple instructions, such as
<3,u,u,u> being either a duplane or a rev. This changes the order that
different shuffles are considered, so that duplane is preferred which is
simpler and more likely to lead to further combines.



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