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

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 24 06:41:36 PST 2022


sdesmalen updated this revision to Diff 411108.
sdesmalen marked an inline comment as done.
sdesmalen added a comment.

Added condition to findMoreOptimalIndexType that index is a vector of 
i64's and swapped order of shl/mul since scale is guaranteed to be constant.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119728/new/

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.411108.patch
Type: text/x-patch
Size: 10001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220224/d52818f9/attachment.bin>


More information about the llvm-commits mailing list