summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/frame-pointer.c
Commit message (Collapse)AuthorAgeFilesLines
* [Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer'Yuanfang Chen2019-07-201-11/+11
| | | | | | | | | | | | | | | | with '-mframe-pointer' After D56351 and D64294, frame pointer handling is migrated to tri-state (all, non-leaf, none) in clang driver and on the function attribute. This patch makes the frame pointer handling cc1 option tri-state. Reviewers: chandlerc, rnk, t.p.northover, MaskRay Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D56353 llvm-svn: 366645
* [RISCV] Fix logic to check if frame pointer should be usedMandeep Singh Grang2018-04-121-0/+12
| | | | | | | | | | | | | | Summary: The logic was broken for Linux triples as it returns true in the switch for Triple.isOSLinux(). Reviewers: asb, apazos Reviewed By: asb Subscribers: kito-cheng, shiva0217, cfe-commits Differential Revision: https://reviews.llvm.org/D45237 llvm-svn: 329941
* [RISCV] Add the RISCV target and compiler driverAlex Bradbury2018-01-111-0/+12
| | | | | | | | | As RV64 codegen has not yet been upstreamed into LLVM, we focus on RV32 driver support (RV64 to follow). Differential Revision: https://reviews.llvm.org/D39963 llvm-svn: 322276
* [PowerPC] Enable -fomit-frame-pointer by default for PPCNemanja Ivanovic2017-03-031-0/+7
| | | | | | | | | | | | 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 llvm-svn: 296861
* [Driver] Disable frame pointer elimination by default if target isAkira Hatanaka2016-02-261-0/+2
| | | | | | | | x86_64-pc-win32-macho. rdar://problem/24470634 llvm-svn: 261976
* [mips] Enable frame-pointer elimination for -O1 and above.Akira Hatanaka2013-10-161-0/+9
| | | | llvm-svn: 192815
* [SystemZ] Enable frame-pointer elimination for -O1 and aboveRichard Sandiford2013-07-191-0/+5
| | | | | | Copies the x86 behavior. llvm-svn: 186674
* rename -ccc-host-triple into -targetSebastian Pop2012-01-201-10/+10
| | | | llvm-svn: 148582
* Revert r148138; it's causing test failures.Eli Friedman2012-01-131-10/+10
| | | | llvm-svn: 148141
* rename -ccc-host-triple into -targetSebastian Pop2012-01-131-10/+10
| | | | llvm-svn: 148138
* Don't use the frame pointer on linux x86 and x86_64 if optimizing. ThisRafael Espindola2011-12-141-0/+24
matches gcc's behavior. Fixes PR8186. llvm-svn: 146586
OpenPOWER on IntegriCloud