[PATCH] D91092: [SVE][CodeGen] Lower scalable masked gathers

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 09:16:35 PST 2020


kmclaughlin updated this revision to Diff 308983.
kmclaughlin added a comment.

- Removed `Index = Index.getOperand(0)` from LowerMGATHER, which was incorrectly removing the sign/zero extend of Index if `getGatherScatterIndexIsExtended` returns true


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

https://reviews.llvm.org/D91092

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-signed-scaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-signed-unscaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-unsigned-scaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-unsigned-unscaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-64b-scaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-64b-unscaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-legalize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91092.308983.patch
Type: text/x-patch
Size: 88404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/694fb0e9/attachment-0001.bin>


More information about the llvm-commits mailing list