Add a DAG combine to form these from FADD_VL/FSUB_VL and FP_EXTEND_VL.
This makes it similar to other widening ops and allows us to handle
using the same FP_EXTEND_VL for both operands.
Paths
| Differential D151969
[RISCV] Add RISCVISD nodes for vfwadd/vfwsub. ClosedPublic Authored by craig.topper on Jun 1 2023, 10:26 PM.
Details Summary Add a DAG combine to form these from FADD_VL/FSUB_VL and FP_EXTEND_VL. This makes it similar to other widening ops and allows us to handle
Diff Detail
Event TimelineComment Actions LGTM w/minor comment. Note, I'm mostly trusting you have the tablegen bits right. My review is really only meaningful for the C++ bits.
This revision is now accepted and ready to land.Jun 5 2023, 9:34 AM This revision was landed with ongoing or failed builds.Jun 5 2023, 2:15 PM Closed by commit rG4157bfb230da: [RISCV] Add RISCVISD nodes for vfwadd/vfwsub. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 527735 llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/vfwadd-vp.ll
|
clang-format not found in user’s local PATH; not linting file.