This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][AArch64] Don't split functions with a red zone on AArch64
AbandonedPublic

Authored by leonardchan on Aug 4 2023, 4:56 PM.

Details

Summary

Because unconditional branch relaxation on AArch64 grows the stack to
spill a register, splitting a function would cause the red zone to be
overwritten. Explicitly disable MFS for such functions.

Depends on D157063

Diff Detail

Event Timeline

leonardchan created this revision.Aug 4 2023, 4:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 4:56 PM
leonardchan requested review of this revision.Aug 4 2023, 4:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 4:56 PM
leonardchan abandoned this revision.Aug 4 2023, 4:57 PM