summaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-07-25 00:34:29 +0000
committerBill Wendling <isanbard@gmail.com>2013-07-25 00:34:29 +0000
commitf245ae5a4a78d5a02b3b9e2dae819077a56d81e7 (patch)
tree517ee29a63e853faa1a41509e465915e597ad8fc /tools/opt/opt.cpp
parent9b344d920f6b3496885094bd2f364453cb8d968f (diff)
downloadllvm-f245ae5a4a78d5a02b3b9e2dae819077a56d81e7.tar.gz
llvm-f245ae5a4a78d5a02b3b9e2dae819077a56d81e7.tar.bz2
llvm-f245ae5a4a78d5a02b3b9e2dae819077a56d81e7.tar.xz
Replace the "NoFramePointerElimNonLeaf" target option with a function attribute.
There's no need to specify a flag to omit frame pointer elimination on non-leaf nodes...(Honestly, I can't parse that option out.) Use the function attribute stuff instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 23acefafbe..68fca83c96 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -491,7 +491,6 @@ static TargetOptions GetTargetOptions() {
TargetOptions Options;
Options.LessPreciseFPMADOption = EnableFPMAD;
Options.NoFramePointerElim = DisableFPElim;
- Options.NoFramePointerElimNonLeaf = DisableFPElimNonLeaf;
Options.AllowFPOpFusion = FuseFPOps;
Options.UnsafeFPMath = EnableUnsafeFPMath;
Options.NoInfsFPMath = EnableNoInfsFPMath;