This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Define vlse/vsse intrinsics.
ClosedPublic

Authored by khchen on Dec 16 2020, 10:40 PM.

Details

Summary

Define vlse/vsse 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: Zakk Chen <zakk.chen@sifive.com>

Diff Detail

Event Timeline

khchen created this revision.Dec 16 2020, 10:40 PM
khchen requested review of this revision.Dec 16 2020, 10:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2020, 10:40 PM
craig.topper added inline comments.Dec 16 2020, 10:49 PM
llvm/include/llvm/IR/IntrinsicsRISCV.td
103

Is stride and vl both XLenVT? Can we use LLVMMatchType<1> for VL?

111

Same here

llvm/test/CodeGen/RISCV/rvv/vsse-rv32.ll
10

Missing space between i32 and %3

khchen updated this revision to Diff 312546.Dec 17 2020, 10:08 AM

address @craig.topper comment and update tests.

This revision is now accepted and ready to land.Dec 17 2020, 10:29 AM
This revision was automatically updated to reflect the committed changes.