This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Update load/store intrinsics to take predicate corresponding to element size.
ClosedPublic

Authored by sdesmalen on Jul 4 2022, 7:27 AM.

Details

Summary

Instead of using <vscale x 16 x i1> for all the loads/stores, we now use the appropriate
predicate type according to the element size, e.g.

ld1b uses <vscale x 16 x i1>
ld1w uses <vscale x 4 x i1>
ld1q uses <vscale x 1 x i1>

Diff Detail

Event Timeline

sdesmalen created this revision.Jul 4 2022, 7:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2022, 7:27 AM
sdesmalen requested review of this revision.Jul 4 2022, 7:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2022, 7:27 AM
This revision is now accepted and ready to land.Jul 5 2022, 5:27 AM
sdesmalen updated this revision to Diff 442460.Jul 6 2022, 1:14 AM

Updated tests after rebase.

Matt added a subscriber: Matt.Jul 6 2022, 3:25 PM
This revision was landed with ongoing or failed builds.Jul 7 2022, 12:40 AM
This revision was automatically updated to reflect the committed changes.