[PATCH] D106652: [SelectionDAG] Support scalable splats in U(ADD|SUB)SAT combines
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 23 04:49:34 PDT 2021
frasercrmck created this revision.
frasercrmck added reviewers: RKSimon, craig.topper.
Herald added subscribers: ecnelises, luismarques, apazos, sameer.abuasal, steven.zhang, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
frasercrmck requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
This patch builds on top of D106575 <https://reviews.llvm.org/D106575> in which scalable-vector splats were
supported in `ISD::matchBinaryPredicate`. It teaches the DAGCombiner how
to perform a variety of the pre-existing saturating add/sub combines on
scalable-vector types.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106652
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/RISCV/rvv/combine-sats.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106652.361159.patch
Type: text/x-patch
Size: 9054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210723/5f31fda4/attachment.bin>
More information about the llvm-commits
mailing list