This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use a smaller VL when interleaving fixed vectors
ClosedPublic

Authored by luke on Feb 20 2023, 5:37 AM.

Details

Summary

Interleaves generated with vwaddu.vv and vwmaccu.vx were using VLs that
were twice the number of elements actually needed in the vector.
This also pulls the interleaving logic out into its own function so it
can be reused by later patches, and adapts it for scalable vectors.

Diff Detail

Event Timeline

luke created this revision.Feb 20 2023, 5:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 20 2023, 5:37 AM
luke requested review of this revision.Feb 20 2023, 5:37 AM
luke updated this revision to Diff 498815.Feb 20 2023, 5:43 AM

Remove commented out code

This revision is now accepted and ready to land.Feb 20 2023, 4:50 PM
This revision was automatically updated to reflect the committed changes.