This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Define vector widening reduction intrinsic.
ClosedPublic

Authored by monkchiang on Dec 24 2020, 6:12 PM.

Details

Summary

Define vwredsumu/vwredsum/vfwredosum/vfwredsum

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen@sifive.com>

Diff Detail

Event Timeline

monkchiang created this revision.Dec 24 2020, 6:12 PM
monkchiang requested review of this revision.Dec 24 2020, 6:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 24 2020, 6:12 PM
This revision is now accepted and ready to land.Dec 25 2020, 12:54 PM
This revision was automatically updated to reflect the committed changes.
craig.topper added inline comments.Dec 28 2020, 1:47 PM
llvm/test/CodeGen/RISCV/rvv/vfwredosum-rv32.ll
12

Why are theses tests only covering lmul=8? And why is f32->f64 missing from the rv32 tests? Sorry I missed this in my original review. I trusted the script too much.