This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Define vfadd/vfsub/vfrsub intrinsics.
ClosedPublic

Authored by HsiangKai on Dec 15 2020, 3:55 AM.

Details

Summary

Define vfadd/vfsub/vfrsub intrinsics and lower to V instructions.

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

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Hsiangkai Wang <kai.wang@sifive.com>

Diff Detail

Event Timeline

HsiangKai created this revision.Dec 15 2020, 3:55 AM
HsiangKai requested review of this revision.Dec 15 2020, 3:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2020, 3:55 AM
Herald added a subscriber: MaskRay. · View Herald Transcript
HsiangKai updated this revision to Diff 311866.Dec 15 2020, 4:46 AM
craig.topper accepted this revision.Dec 15 2020, 11:11 AM

LGTM

llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
138

Leave off the NoGroupFloatVectors/GroupFloatVectors until we need them?

This revision is now accepted and ready to land.Dec 15 2020, 11:11 AM
This revision was landed with ongoing or failed builds.Dec 15 2020, 2:32 PM
This revision was automatically updated to reflect the committed changes.