[all-commits] [llvm/llvm-project] 201e36: [AArch64][SVE] Handle more cases in findMoreOptima...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Feb 28 04:16:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 201e3686ab4533213e6d72d192d4493002ffa679
      https://github.com/llvm/llvm-project/commit/201e3686ab4533213e6d72d192d4493002ffa679
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-gather-scatter-addr-opts.ll

  Log Message:
  -----------
  [AArch64][SVE] Handle more cases in findMoreOptimalIndexType.

This patch addresses @paulwalker-arm's comment on D117900 to
only update/write the by-ref operands iff the function returns
true. It also handles a few more cases where a series of added
offsets can be folded into the base pointer, rather than just looking
at a single offset.

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list