This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Add codegen pass to handle ZA state in arm_new_za functions.
AbandonedPublic

Authored by david-arm on Sep 22 2022, 6:40 AM.

Details

Summary

The new pass implements the following:

Inserts code at the start of an arm_new_za function to commit a lazy-save when the lazy-save mechanism is active.
Adds a smstart intrinsic at the start of the function.
Adds a smstop intrinsic at the end of the function.

Patch co-authored by kmclaughlin.

Diff Detail

Build Status
Buildable 188168

Event Timeline

david-arm created this revision.Sep 22 2022, 6:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2022, 6:40 AM
david-arm requested review of this revision.Sep 22 2022, 6:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2022, 6:40 AM

Have you tried commandeering the previous patch?

david-arm abandoned this revision.Sep 22 2022, 9:08 AM