This is an archive of the discontinued LLVM Phabricator instance.

[VP] IR expansion pass for VP strided load and store
Needs ReviewPublic

Authored by loralb on Feb 25 2022, 6:16 AM.

Details

Summary

Add IR expansion support for experimental.vp.strided.load and experimental.vp.strided.store intrinsics. If the vp.gather/vp.scatter intrinsics are legal operations for the target, then the strided ones are expanded to them; otherwise, they are expanded to the unpredicated masked.load and masked.store intrinsics.

Diff Detail

Event Timeline

loralb created this revision.Feb 25 2022, 6:16 AM
loralb requested review of this revision.Feb 25 2022, 6:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2022, 6:16 AM
loralb updated this revision to Diff 412025.Mar 1 2022, 3:03 AM

Changelog:

loralb updated this revision to Diff 418847.Mar 29 2022, 5:23 AM

Changelog:

  • Add fixed vectors tests
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2022, 5:23 AM
Herald added a subscriber: StephenFan. · View Herald Transcript