Use the FP for scavenged spill slot accesses to prevent corruption of
the callee-save region when the SP is re-aligned.
Based on problem and patch reported by @paulwalker-arm
This is an alternative to solution proposed in D45770
Paths
| Differential D46063
[AArch64] Fix scavenged spill slot base when stack realignment required. ClosedPublic Authored by gberry on Apr 25 2018, 8:13 AM.
Details
Summary Use the FP for scavenged spill slot accesses to prevent corruption of Based on problem and patch reported by @paulwalker-arm This is an alternative to solution proposed in D45770
Diff Detail
Event TimelineComment Actions LGTM with a small comment. Thanks!
This revision is now accepted and ready to land.Apr 25 2018, 2:36 PM Closed by commit rL330976: [AArch64] Fix scavenged spill slot base when stack realignment required. (authored by gberry). · Explain WhyApr 26 2018, 11:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 144173 llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/trunk/test/CodeGen/AArch64/spill-stack-realignment.mir
|