[PATCH] D119622: [RISCV] Match vwmulsu_vx with scalar splat input.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 11 23:43:11 PST 2022
craig.topper created this revision.
craig.topper added reviewers: Chenbing.Zheng, frasercrmck, benshi001, arcbbb.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
This is a more generic version of D119110 <https://reviews.llvm.org/D119110> that uses MaskedValueIsZero
to do the matching and SimplifyDemandedBits to remove any unneeded
AND instructions.
Tests were taken from D119110 <https://reviews.llvm.org/D119110>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119622
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwmulsu.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119622.408161.patch
Type: text/x-patch
Size: 4152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220212/e22d202e/attachment.bin>
More information about the llvm-commits
mailing list