This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add support for the stepvector intrinsic
ClosedPublic

Authored by frasercrmck on Mar 30 2021, 7:00 AM.

Details

Summary

This adds almost everything required for supporting the new stepvector
intrinsic on RVV. It is lowered to the existing VID_VL SDNode.

The only exception is a limitation that RV32 cannot yet lower the
intrinsic on i64 vectors. This is because the step operand is
(currently) required to be at least as large as the vector element type.
I will look into patching that out and loosening the requirement to only
an integer pointer type.

Diff Detail

Event Timeline

frasercrmck created this revision.Mar 30 2021, 7:00 AM
frasercrmck requested review of this revision.Mar 30 2021, 7:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2021, 7:00 AM
This revision is now accepted and ready to land.Mar 30 2021, 9:46 AM
This revision was landed with ongoing or failed builds.Mar 31 2021, 3:48 AM
This revision was automatically updated to reflect the committed changes.