]> granicus.if.org Git - clang/commit
[PowerPC] Enable -fomit-frame-pointer by default for PPC
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 3 Mar 2017 09:49:17 +0000 (09:49 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 3 Mar 2017 09:49:17 +0000 (09:49 +0000)
commitee085ed499c5270dc4e09c9ffe5a40477a45e669
tree75bc72c69a47ca0fa5915a17662e74d32644a92b
parentac450b86d7979c94bd6cd4069e3fe0ef4ce37020
[PowerPC] Enable -fomit-frame-pointer by default for PPC

As is the case on platforms like Mips, X86 and SystemZ, the -fomit-frame-pointer
should be enabled by default on PPC when optimizing at -O1 and above. This
brings the behaviour of LLVM on PPC in line with GCC.

Committing on behalf of Hiroshi Inoue.

Differential Revision: https://reviews.llvm.org/D29750

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296861 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/frame-pointer.c