[PATCH] D92230: [SVE][CodeGen] Add DAG combines for s/zext_masked_gather

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 09:52:05 PST 2020


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

Added an option to disable the existing combines in AArch64ISelLowering for s/zext_masked_gathers (`performSignExtendInRegCombine` & `performSVEAndCombine`)

The option (`-aarch64-enable-mgather-combine`) has been added to the RUN lines of the SVE masked gather tests added in D91092 <https://reviews.llvm.org/D91092>, ensuring the combines added in this patch are being tested.


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

https://reviews.llvm.org/D92230

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  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: D92230.308083.patch
Type: text/x-patch
Size: 12051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201127/70054852/attachment.bin>


More information about the llvm-commits mailing list