[all-commits] [llvm/llvm-project] 3c99ea: [ARM] Fix not saving FP when required to in frame-...
Amara Emerson via All-commits
all-commits at lists.llvm.org
Wed Oct 15 21:59:28 PDT 2025
Branch: refs/heads/users/amara/armv7-fp-clobber-fix
Home: https://github.com/llvm/llvm-project
Commit: 3c99ea158ce4ea62a87865cd90ea3c0de690e000
https://github.com/llvm/llvm-project/commit/3c99ea158ce4ea62a87865cd90ea3c0de690e000
Author: Amara Emerson <amara at apple.com>
Date: 2025-10-15 (Wed, 15 Oct 2025)
Changed paths:
M llvm/lib/Target/ARM/ARMFrameLowering.cpp
A llvm/test/CodeGen/ARM/save-fp-with-non-leaf.ll
Log Message:
-----------
[ARM] Fix not saving FP when required to in frame-pointer=non-leaf.
When the stars align to conspire against stack alignment, when we have
frame-pointer=non-leaf we can incorrectly skip preserving fp/r7 in the prolog.
The fix here first makes sure we're using the right frame pointer register in
the context of preserving the incoming FP, and then make sure that we save
the FP when re-alignment is known to be necessary.
rdar://162462271
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list