[PATCH] D92319: [SVE][CodeGen] Call refineIndexType & refineUniformBase from visitMGATHER
Kerry McLaughlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 30 06:20:07 PST 2020
kmclaughlin created this revision.
kmclaughlin added reviewers: sdesmalen, craig.topper.
Herald added subscribers: llvm-commits, ecnelises, pengfei, psnobl, arphaman, hiraditya, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
kmclaughlin requested review of this revision.
The refineIndexType & refineUniformBase functions added by D90942 <https://reviews.llvm.org/D90942> can also be used to
improve CodeGen of masked gathers. This patch also changes SplitVecRes & SplitVecOp for
MGATHER to split the type returned by getMemoryVT() before creating the Hi & Lo masked gathers.
These changes were split out from D91092 <https://reviews.llvm.org/D91092>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92319
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/masked_gather_scatter.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92319.308347.patch
Type: text/x-patch
Size: 8099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201130/c089ac42/attachment-0001.bin>
More information about the llvm-commits
mailing list