[all-commits] [llvm/llvm-project] 9239d3: [RISCV] Teach performCombineVMergeAndVOps to handl...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon May 29 19:45:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9239d3a3eaf278ecf36376760b21e49512de6ac6
https://github.com/llvm/llvm-project/commit/9239d3a3eaf278ecf36376760b21e49512de6ac6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rvv/vfwmacc-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vfwmsac-vp.ll
Log Message:
-----------
[RISCV] Teach performCombineVMergeAndVOps to handle instructions FMA instructions.
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.
Reviewed By: fakepaper56, frasercrmck
Differential Revision: https://reviews.llvm.org/D151596
More information about the All-commits
mailing list