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

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 02:38:42 PDT 2022


fakepaper56 added a comment.

In D122563#3415868 <https://reviews.llvm.org/D122563#3415868>, @frasercrmck wrote:

> Taking a step back a bit, this is also a target-independent combine we'd want to perform on `vp.reduce` operations, right? Is it possible that we may want to lower/combine `vector.reduce` to `vp.reduce` and let this sort of combine happen in a target-independent combine?

I think it may be a good idea to transform the combine when before-legalized DAG.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122563



More information about the llvm-commits mailing list