[PATCH] D151596: [RISCV] Teach performCombineVMergeAndVOps to handle instructions FMA instructions.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 26 15:28:13 PDT 2023
craig.topper created this revision.
craig.topper added reviewers: fakepaper56, frasercrmck, reames, nitinjohnraj.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, 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, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
Previously we only handled instructions with merge ops that were
also masked. This patch supports instructions with merge ops that
aren't masked, like FMA.
I'm only folding into a TU vmerge for now. Supporting TA vmerge
shouldn't be much more work, but we need to make sure we get the
policy operand for the result correct. And of course we need more
tests.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151596
Files:
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/test/CodeGen/RISCV/rvv/vfwmacc-vp.ll
llvm/test/CodeGen/RISCV/rvv/vfwmsac-vp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151596.526212.patch
Type: text/x-patch
Size: 16205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230526/d8b12c98/attachment.bin>
More information about the llvm-commits
mailing list