This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Improve access to fixed-width object when stack has SVE.
ClosedPublic

Authored by sdesmalen on Mar 1 2022, 9:21 AM.

Details

Summary

When the stack has SVE objects, fixed-width objects are often better accessed
from the SP, instead of the FP, because part/all of the fixed-width offset
can be folded into the (non-scalable) addressing mode, where otherwise an
ADDVL would be required.

Diff Detail

Event Timeline

sdesmalen created this revision.Mar 1 2022, 9:21 AM
sdesmalen requested review of this revision.Mar 1 2022, 9:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2022, 9:21 AM
david-arm accepted this revision.Mar 3 2022, 5:49 AM

LGTM! Nice fix thx @sdesmalen. :)

This revision is now accepted and ready to land.Mar 3 2022, 5:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 5:50 AM
This revision was landed with ongoing or failed builds.Mar 4 2022, 1:35 AM
This revision was automatically updated to reflect the committed changes.