[PATCH] D110028: [RISCV] Improve support for forming widening multiplies when one input is a scalar splat.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 18 16:38:10 PDT 2021
craig.topper created this revision.
craig.topper added a reviewer: frasercrmck.
Herald added subscribers: vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.
If one input of a fixed vector multiply is a sign/zero extend and
the other operand is a splat of a scalar, we can use a widening
multiply if the scalar value has sufficient sign/zero bits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110028
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwmul.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwmulu.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110028.373436.patch
Type: text/x-patch
Size: 22968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210918/02cb46ff/attachment.bin>
More information about the llvm-commits
mailing list