[PATCH] D125377: [AArch64] Order STP Q's by ascending address

Andre Vieira via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 05:12:52 PDT 2022


avieira created this revision.
Herald added subscribers: javed.absar, hiraditya, kristof.beyls, mgorny, MatzeB.
Herald added a project: All.
avieira requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Hi,

This patch adds an AArch64 specific PostRA MachineScheduler to try to schedule STP Q's to the same base-address in ascending order of offsets. We have found this to improve performance on Neoverse N1 and should not hurt other AArch64 cores.


https://reviews.llvm.org/D125377

Files:
  llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp
  llvm/lib/Target/AArch64/AArch64MachineScheduler.h
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/CMakeLists.txt
  llvm/test/CodeGen/AArch64/GlobalISel/call-translator-variadic-musttail.ll
  llvm/test/CodeGen/AArch64/argument-blocks-array-of-struct.ll
  llvm/test/CodeGen/AArch64/arm64-memset-inline.ll
  llvm/test/CodeGen/AArch64/ragreedy-local-interval-cost.ll
  llvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125377.428632.patch
Type: text/x-patch
Size: 14705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220511/01349350/attachment.bin>


More information about the llvm-commits mailing list