[all-commits] [llvm/llvm-project] 0676c6: [RISCV] Support vector type strict_fma.
Yeting Kuo via All-commits
all-commits at lists.llvm.org
Mon Mar 27 18:02:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0676c6d91fef302e0ae17f1a4571f28b1be1b27c
https://github.com/llvm/llvm-project/commit/0676c6d91fef302e0ae17f1a4571f28b1be1b27c
Author: Yeting Kuo <yeting.kuo at sifive.com>
Date: 2023-03-28 (Tue, 28 Mar 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmadd-constrained-sdnode.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmsub-constrained-sdnode.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfnmadd-constrained-sdnode.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfnmsub-constrained-sdnode.ll
A llvm/test/CodeGen/RISCV/rvv/vfmadd-constrained-sdnode.ll
A llvm/test/CodeGen/RISCV/rvv/vfmsub-constrained-sdnode.ll
A llvm/test/CodeGen/RISCV/rvv/vfnmadd-constrained-sdnode.ll
A llvm/test/CodeGen/RISCV/rvv/vfnmsub-constrained-sdnode.ll
Log Message:
-----------
[RISCV] Support vector type strict_fma.
Like D145900, the patch also supports fixed vector strict_fma nodes in RISC-V by
customized lowering them to riscv_strict_vfmadd_vl nodes. riscv_strict_vfmadd_vl
is created to avoid some riscv_vfmadd_vl optimizations happening to original
strict_fma nodes. The patch also adds combine patterns for riscv_strict_fmadd_vl
nodes with negation operands.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D146939
More information about the All-commits
mailing list