[llvm] Spill/restore FP/BP around instructions in which they are clobbered (PR #81048)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 04:01:02 PDT 2024
================
@@ -599,6 +599,7 @@ class MachineFrameInfo {
/// Return the alignment in bytes that this function must be aligned to,
/// which is greater than the default stack alignment provided by the target.
Align getMaxAlign() const { return MaxAlignment; }
+ Align getStackAlignment() const { return StackAlignment; }
----------------
zmodem wrote:
It's surprising that we didn't need to expose this before now. Do we really need it? And if we do, should it have its own comment?
https://github.com/llvm/llvm-project/pull/81048
More information about the llvm-commits
mailing list