The patch makes visitFSUBForFMACombine serve vp.fsub too. It helps DAGCombiner
to fuse vp.fsub and vp.fmul patterns to vp.fma.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D149821
[DAGCombiner] Use generalized pattern match for visitFSUBForFMACombine. ClosedPublic Authored by fakepaper56 on May 4 2023, 12:11 AM.
Details Summary The patch makes visitFSUBForFMACombine serve vp.fsub too. It helps DAGCombiner
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 4 2023, 4:01 AM Closed by commit rG287aa6c45364: [DAGCombiner] Use generalized pattern match for visitFSUBForFMACombine. (authored by fakepaper56). · Explain WhyMay 4 2023, 7:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 519367 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/RISCV/rvv/fold-vp-fsub-and-vp-fmul.ll
|