diff options
author | Yuanfang Chen <yuanfang.chen@sony.com> | 2019-07-20 22:50:50 +0000 |
---|---|---|
committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2019-07-20 22:50:50 +0000 |
commit | 8e40137e31487e55e3441967d1f9a915484cb756 (patch) | |
tree | 6de111eeacacbb599d68336d30120bed2fd8daa2 /test/CodeGen/msp430-fp-elim.c | |
parent | 21f5c9351fe1bd35d959ee139309a5e04902e64e (diff) | |
download | clang-8e40137e31487e55e3441967d1f9a915484cb756.tar.gz |
[Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer'
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/msp430-fp-elim.c')
-rw-r--r-- | test/CodeGen/msp430-fp-elim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/msp430-fp-elim.c b/test/CodeGen/msp430-fp-elim.c index c022adecbc..194a84b62a 100644 --- a/test/CodeGen/msp430-fp-elim.c +++ b/test/CodeGen/msp430-fp-elim.c @@ -1,5 +1,5 @@ // REQUIRES: msp430-registered-target -// RUN: %clang_cc1 -mdisable-fp-elim -triple msp430 -S %s -o - | FileCheck %s --check-prefix=FP_ENFORCED +// RUN: %clang_cc1 -mframe-pointer=all -triple msp430 -S %s -o - | FileCheck %s --check-prefix=FP_ENFORCED // RUN: %clang_cc1 -triple msp430 -S %s -o - | FileCheck %s --check-prefix=FP_DEFAULT // Check the frame pointer is not used on MSP430 by default, but can be forcibly turned on. |