[PATCH] D122563: [RISCV] Add DAGCombine to fold base operation and reduction.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 03:54:30 PDT 2022


fakepaper56 updated this revision to Diff 424778.
fakepaper56 added a comment.

The update replaces combineBinOpToReduce with specefic function only calling combineBinOpToReduce and uses array input version setTargetDAGCombine.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122563/new/

https://reviews.llvm.org/D122563

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
  llvm/test/CodeGen/RISCV/rvv/fold-binary-reduce.ll
  llvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122563.424778.patch
Type: text/x-patch
Size: 62564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220424/2363dc61/attachment.bin>


More information about the llvm-commits mailing list