For reductions, we need to put the start value into a source vector. For fractional LMULs, we can perform the operation at the original LMUL.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D139747
[RISCV] Allow fractional LMUL for reduction start value ClosedPublic Authored by reames on Dec 9 2022, 4:09 PM.
Details Summary For reductions, we need to put the start value into a source vector. For fractional LMULs, we can perform the operation at the original LMUL.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 12 2022, 1:07 AM This revision was landed with ongoing or failed builds.Dec 12 2022, 9:08 AM Closed by commit rGa4b45c28a125: [RISCV] Allow fractional LMUL for reduction start value (authored by reames). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 482157 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-sdnode.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
|