[PATCH] D94525: [SVE][CodeGen] Remove performMaskedGatherScatterCombine

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 09:52:10 PST 2021


kmclaughlin created this revision.
kmclaughlin added reviewers: sdesmalen, david-arm, craig.topper.
Herald added subscribers: NickHung, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
kmclaughlin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The AArch64 DAG combine added by D90945 <https://reviews.llvm.org/D90945> & D91433 <https://reviews.llvm.org/D91433> extends the index
of a scalable masked gather or scatter to i32 if necessary.

This patch removes the combine and instead adds shouldExtendGSIndex, which
is used by visitMaskedGather/Scatter in SelectionDAGBuilder to query whether
the index should be extended before calling getMaskedGather/Scatter.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94525

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94525.316143.patch
Type: text/x-patch
Size: 6390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210112/e1b201e0/attachment.bin>


More information about the llvm-commits mailing list