[all-commits] [llvm/llvm-project] c069e3: [RISCV] Add DAGCombine to fold base operation and ...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Fri Apr 29 23:07:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c069e37019f0fcda7b009f6ab47063550f59e93b
      https://github.com/llvm/llvm-project/commit/c069e37019f0fcda7b009f6ab47063550f59e93b
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2022-04-30 (Sat, 30 Apr 2022)

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

  Log Message:
  -----------
  [RISCV] Add DAGCombine to fold base operation and reduction.

Transform (<bop> x, (reduce.<bop> vec, splat(neutral_element))) to
(reduce.<bop> vec, splat (x)).

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D122563




More information about the All-commits mailing list