[PATCH] D119728: [AArch64][SVE] Handle more cases in findMoreOptimalIndexType.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 08:17:13 PST 2022


sdesmalen created this revision.
sdesmalen added reviewers: paulwalker-arm, CarolineConcatto.
Herald added subscribers: psnobl, arphaman, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch addresses @paulwalker-arm's comment on D117900 <https://reviews.llvm.org/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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119728

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119728.408432.patch
Type: text/x-patch
Size: 9616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220214/035122d3/attachment.bin>


More information about the llvm-commits mailing list