This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Share interleave mask checking logic
ClosedPublic

Authored by luke on Mar 13 2023, 11:15 AM.

Details

Summary

This adds two new methods to ShuffleVectorInst, isInterleave and
isInterleaveMask, so that the logic to check if a shuffle mask is an
interleave can be shared across the TTI, codegen and the interleaved
access pass.

Diff Detail

Event Timeline

luke created this revision.Mar 13 2023, 11:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2023, 11:15 AM
luke requested review of this revision.Mar 13 2023, 11:15 AM
luke updated this revision to Diff 504766.Mar 13 2023, 11:19 AM

Fix diff

This revision is now accepted and ready to land.Mar 13 2023, 4:30 PM
This revision was automatically updated to reflect the committed changes.