This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Fix chain for arm_locally_streaming functions.
ClosedPublic

Authored by sdesmalen on Oct 24 2022, 12:05 AM.

Details

Summary

The Chain wasn't set correctly in the DAG for functions marked
with aarch64_pstate_sm_body, which meant that SelectionDAG would
dead-code some of the CopyToReg's. This didn't show up in the
existing tests because all uses were in the same block, but when
adding some control-flow, suddenly things would break.

Diff Detail

Event Timeline

sdesmalen created this revision.Oct 24 2022, 12:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 12:05 AM
sdesmalen requested review of this revision.Oct 24 2022, 12:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 12:05 AM
This revision is now accepted and ready to land.Oct 24 2022, 9:20 AM
This revision was landed with ongoing or failed builds.Oct 25 2022, 1:15 AM
This revision was automatically updated to reflect the committed changes.