[all-commits] [llvm/llvm-project] d363bd: [AArch64] NFC: Add test for access to fixed-width ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Fri Mar 4 01:35:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d363bddac5ef538b87423a78be9450a94e36e0d8
      https://github.com/llvm/llvm-project/commit/d363bddac5ef538b87423a78be9450a94e36e0d8
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    A llvm/test/CodeGen/AArch64/framelayout-sve-fixed-width-access.mir

  Log Message:
  -----------
  [AArch64] NFC: Add test for access to fixed-width stack object when stack has SVE.

In this case, the access would benefit from being accessed from the SP, as that
would avoid the redundant ADDVL, since most of the offset can currently be
folded into the addressing mode.


  Commit: 7c65d2288bfd03ca3c3e829c7746b5e4e495357f
      https://github.com/llvm/llvm-project/commit/7c65d2288bfd03ca3c3e829c7746b5e4e495357f
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/test/CodeGen/AArch64/framelayout-sve-fixed-width-access.mir
    M llvm/test/CodeGen/AArch64/stack-guard-sve.ll

  Log Message:
  -----------
  [AArch64] Improve access to fixed-width object when stack has SVE.

When the stack has SVE objects, fixed-width objects are often better accessed
from the SP, instead of the FP, because part/all of the fixed-width offset
can be folded into the (non-scalable) addressing mode, where otherwise an
ADDVL would be required.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D120738


Compare: https://github.com/llvm/llvm-project/compare/7a258c6a3778...7c65d2288bfd


More information about the All-commits mailing list