This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Disable inlining when SME attributes require smstart/smstop or lazy-save.
ClosedPublic

Authored by sdesmalen on Aug 10 2022, 8:44 AM.

Details

Summary

Inlining must be disabled when the call-site needs to toggle PSTATE.SM or
when the callee's function body is executed in a different streaming mode than
its caller. This is needed because function calls are the boundaries for
streaming mode changes.

More details about the SME attributes and design can be found
in D131562.

Diff Detail

Event Timeline

sdesmalen created this revision.Aug 10 2022, 8:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2022, 8:44 AM
sdesmalen requested review of this revision.Aug 10 2022, 8:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2022, 8:44 AM
Matt added a subscriber: Matt.Sep 16 2022, 11:43 AM
aemerson accepted this revision.Sep 20 2022, 8:23 AM

LGTM with rebase onto new SMEAttrs.

This revision is now accepted and ready to land.Sep 20 2022, 8:23 AM
This revision was landed with ongoing or failed builds.Sep 21 2022, 1:35 AM
This revision was automatically updated to reflect the committed changes.