This is an archive of the discontinued LLVM Phabricator instance.

Implementation of variable-length load/store intrinsics
Needs ReviewPublic

Authored by hussainjk on Aug 27 2020, 2:47 AM.

Details

Reviewers
simoll
Summary

Implemented intrinsics llvm.variable.length.load and llvm.variable.length.store,
as well as infrastructure for lowering these using new corresponding SDAG nodes.

These intrinsics represent loading and storing vectors with a number of contiguous active lanes given at runtime.
In effect, they specialize masked loads and stores to the case when the mask can instead be specified by a length.

Please see our associated RFC for technical design discussion.

Diff Detail

Event Timeline

hussainjk created this revision.Aug 27 2020, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 27 2020, 2:47 AM
hussainjk requested review of this revision.Aug 27 2020, 2:47 AM
simoll added a subscriber: simoll.Aug 27 2020, 5:03 AM