HomePhabricator

[RISCV] Add scalable vector fadd/fsub/fmul/fdiv ISel patterns

Authored by frasercrmck on Jan 11 2021, 6:02 AM.

Description

[RISCV] Add scalable vector fadd/fsub/fmul/fdiv ISel patterns

Original patch by @rogfer01.

This patch adds ISel patterns for the above operations to the
corresponding vector/vector and vector/scalar RVV instructions, as well
as extra patterns to match operand-swapped scalar/vector vfrsub and
vfrdiv.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Fraser Cormack <fraser@codeplay.com>

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D94408

Details

Committed
frasercrmckJan 11 2021, 1:19 PM
Reviewer
craig.topper
Differential Revision
D94408: [RISCV] Add scalable vector fadd/fsub/fmul/fdiv ISel patterns
Parents
rGf4cec703ec84: Add an assert to CGDebugInfo::getTypeOrNull
Branches
Unknown
Tags
Unknown