[all-commits] [llvm/llvm-project] 2e6940: [AArch64] Don't generate st2 for 64bit store that ...

David Green via All-commits all-commits at lists.llvm.org
Mon Oct 23 10:15:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e6940754793fb085adf0097ab73ab8e1f40bd1f
      https://github.com/llvm/llvm-project/commit/2e6940754793fb085adf0097ab73ab8e1f40bd1f
  Author: David Green <david.green at arm.com>
  Date:   2023-10-23 (Mon, 23 Oct 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/machine-cse-profitable-check.ll
    M llvm/test/CodeGen/AArch64/vldn_shuffle.ll

  Log Message:
  -----------
  [AArch64] Don't generate st2 for 64bit store that can use stp (#69901)

D142966 made it so that st2 that do not start at element 0 use zip2
instead of st2. This extends that to any 64bit store that has a nearby
load that can better become a LDP operation, which is expected to have a
higher throughput. It searches up to 20 instructions away for a store to
p+16 or p-16.




More information about the All-commits mailing list