[all-commits] [llvm/llvm-project] 074323: [Driver] Default to -momit-leaf-frame-pointer for ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Dec 13 18:48:41 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 074323c84658e51522e7d8d3d0179e53004b219c
https://github.com/llvm/llvm-project/commit/074323c84658e51522e7d8d3d0179e53004b219c
Author: Fangrui Song <maskray at google.com>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/cl-options.c
M clang/test/Driver/frame-pointer-elim.c
Log Message:
-----------
[Driver] Default to -momit-leaf-frame-pointer for AArch64
This matches https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
> -momit-leaf-frame-pointer
> -mno-omit-leaf-frame-pointer
>
> Omit or keep the frame pointer in leaf functions. The former behavior is the default.
-mno-omit-leaf-frame-pointer is currently a no-op because
TargetOptions::DisableFramePointerElim is only considered for non-leaf
functions.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D71167
More information about the All-commits
mailing list