[llvm-dev] AArch64 always omit leaf frame pointer

kamlesh kumar via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 6 10:15:16 PST 2019


Hi Devs,

By default AArch64 omit the frame pointer for leaf function.
But surprisingly, even after passing option -mno-omit-leaf-frame-pointer
behavior remain same.

it is handled at
https://github.com/llvm-mirror/llvm/blob/master/lib/Target/AArch64/AArch64FrameLowering.cpp#L242

Here is a testcase
https://godbolt.org/z/653p3q

Before going for fix,
Like to know community thought on this wether this is a bug or not?

./Kamlesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191206/4eda9c67/attachment.html>


More information about the llvm-dev mailing list