[PATCH] D155929: [RISCV] Use the first element of source as the start value of reduction.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 19:54:33 PDT 2023


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

Add assertion to check whether VT is scalable vector type.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155929

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155929.543795.patch
Type: text/x-patch
Size: 204173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230725/36f7dfd3/attachment-0001.bin>


More information about the llvm-commits mailing list