[PATCH] D118345: [AArch64][SVE] Add more folds to make use of gather/scatter with 32-bit indices

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 08:19:01 PST 2022


CarolineConcatto updated this revision to Diff 405288.
CarolineConcatto added a comment.

- Use dyn_cast_or_null<ConstantSDNode> to create Shift
- get Shift value with SDValue(Shift, 0)

as suggested by Sander


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118345

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: D118345.405288.patch
Type: text/x-patch
Size: 6954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/8a043048/attachment.bin>


More information about the llvm-commits mailing list