This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add comment explaining stack frame layout
ClosedPublic

Authored by ostannard on Mar 9 2021, 6:47 AM.

Details

Summary

Add a comment explaining how we lay out stack frames for ARM targets, based on the existing one for AArch64. Also expand the comment to explain reserved call frames for both architectures.

Diff Detail

Event Timeline

ostannard created this revision.Mar 9 2021, 6:47 AM
ostannard requested review of this revision.Mar 9 2021, 6:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2021, 6:47 AM
tmatheson accepted this revision.Mar 9 2021, 7:01 AM

This is great, thanks

llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
112

cal -> call

llvm/lib/Target/ARM/ARMFrameLowering.cpp
102

cal -> call

This revision is now accepted and ready to land.Mar 9 2021, 7:01 AM
This revision was landed with ongoing or failed builds.Mar 9 2021, 7:20 AM
This revision was automatically updated to reflect the committed changes.