This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Extend RVV VType info with the type's AVL (NFC)
ClosedPublic

Authored by frasercrmck on Jan 13 2021, 5:46 AM.

Details

Summary

This patch factors out the "VLMax" operand passed to most
scalable-vector ISel patterns into a property of each VType.

This is seen as a preparatory change to allow RVV in the future to
more easily support fixed-length vector types with constrained vector
lengths, with the AVL operand set to the length of the fixed-length
vector. It has no effect on the scalable code generation path.

Diff Detail

Event Timeline

frasercrmck created this revision.Jan 13 2021, 5:46 AM
frasercrmck requested review of this revision.Jan 13 2021, 5:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2021, 5:46 AM
This revision is now accepted and ready to land.Jan 19 2021, 7:35 AM