[PATCH] D119110: [RISCV] support vwmulsu_vx when one input is a scalar splat

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 7 00:04:46 PST 2022


Chenbing.Zheng created this revision.
Chenbing.Zheng added reviewers: craig.topper, arcbbb, HsiangKai, frasercrmck, benshi001.
Chenbing.Zheng added a project: LLVM.
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.
Chenbing.Zheng requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, jacquesguan, MaskRay.

If one input of a fixed vector multiply is a sign extend and
the other operand is a splat of a scalar,  we can use vwmulsu_vx
if the scalar value has sufficient zero bits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119110

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: D119110.406334.patch
Type: text/x-patch
Size: 3770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220207/02e0f84b/attachment.bin>


More information about the llvm-commits mailing list