[PATCH] D137530: [RISCV] Splat scalar to be of length VL instead of 1 for reductions

Wang Pengcheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 02:58:57 PST 2022


pcwang-thead updated this revision to Diff 473610.
pcwang-thead added a comment.

Make sure operand's types are of LMUL=1 types


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137530

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-vp.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/vreductions-fp-vp.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: D137530.473610.patch
Type: text/x-patch
Size: 193044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221107/c66a9be7/attachment-0001.bin>


More information about the llvm-commits mailing list