[RISCV] Match RVV VF variants also through masked operations
authorFraser Cormack <fraser@codeplay.com>
Wed, 19 Jan 2022 17:40:33 +0000 (17:40 +0000)
committerFraser Cormack <fraser@codeplay.com>
Thu, 20 Jan 2022 12:08:02 +0000 (12:08 +0000)
commitca36cc56ac6c8eee91e3b4f588aaad01b906fe62
tree9c94d3acffaa19c9fd924af52f4851155fa4c5f0
parentd4a6bf4d1a915d3b0566f38e13ea90b597f6cfe3
[RISCV] Match RVV VF variants also through masked operations

This brings floating-point RVV vector/scalar support more in line with
the integer vector patterns, which can already match '.vx' instructions
with masked operations.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D117697
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfadd-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfdiv-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmul-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfsub-vp.ll