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 | ff22ec3d7004ada2ef11893c832624fdd0caa5c6 (patch) | |
tree | 3cccb35e4d0a0a8f34e604bd08ad33eadd0257b4 /clang/test/CodeGen/xcore-abi.cpp | |
parent | ae4c30a4bed9813203280d876a552cc7ab5ffbeb (diff) | |
download | bcm5719-llvm-ff22ec3d7004ada2ef11893c832624fdd0caa5c6.tar.gz bcm5719-llvm-ff22ec3d7004ada2ef11893c832624fdd0caa5c6.zip |
[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
llvm-svn: 366645
Diffstat (limited to 'clang/test/CodeGen/xcore-abi.cpp')
-rw-r--r-- | clang/test/CodeGen/xcore-abi.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CodeGen/xcore-abi.cpp b/clang/test/CodeGen/xcore-abi.cpp index fbf31ff50aa..66ff33ad05a 100644 --- a/clang/test/CodeGen/xcore-abi.cpp +++ b/clang/test/CodeGen/xcore-abi.cpp @@ -23,5 +23,4 @@ public: }; C c; -// CHECK: "no-frame-pointer-elim"="false" -// CHECK-NOT: "no-frame-pointer-elim-non-leaf" +// CHECK: "frame-pointer"="none" |