This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add helper function for RVV intrinsics in getTgtMemIntrinsic. NFC
ClosedPublic

Authored by craig.topper on Mar 27 2023, 3:00 PM.

Details

Summary

Preparation for adding the other RVV load/store intrinsics we use
for the C API.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 27 2023, 3:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 27 2023, 3:00 PM
craig.topper requested review of this revision.Mar 27 2023, 3:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 27 2023, 3:00 PM
craig.topper planned changes to this revision.Mar 27 2023, 3:27 PM

Autodetect struct types so we don't need IsSegment.
Use MemTy for Align.

This revision is now accepted and ready to land.Mar 28 2023, 6:24 PM

Fold return true into the helper`.

asb accepted this revision.Mar 29 2023, 9:45 AM

LGTM.