[PATCH] D46777: [ARM] Back up R4 and LR if calling the stack probe function
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 11 16:52:11 PDT 2018
efriedma added inline comments.
================
Comment at: lib/Target/ARM/ARMFrameLowering.cpp:1624
+ unsigned SpillEstimate = SavedRegs.count();
+ unsigned StackEstimate = MFI.estimateStackSize(MF) + 4 * SpillEstimate + 16;
+
----------------
Where does this StackEstimate come from? Could it be factored out into a helper?
Repository:
rL LLVM
https://reviews.llvm.org/D46777
More information about the llvm-commits
mailing list