diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-07-25 00:34:29 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-07-25 00:34:29 +0000 |
commit | f245ae5a4a78d5a02b3b9e2dae819077a56d81e7 (patch) | |
tree | 517ee29a63e853faa1a41509e465915e597ad8fc /tools/lto | |
parent | 9b344d920f6b3496885094bd2f364453cb8d968f (diff) | |
download | llvm-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/lto')
-rw-r--r-- | tools/lto/LTOModule.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index 6626eaac47..7aeadc3da4 100644 --- a/tools/lto/LTOModule.cpp +++ b/tools/lto/LTOModule.cpp @@ -50,11 +50,6 @@ DisableFPElim("disable-fp-elim", cl::init(false)); static cl::opt<bool> -DisableFPElimNonLeaf("disable-non-leaf-fp-elim", - cl::desc("Disable frame pointer elimination optimization for non-leaf funcs"), - cl::init(false)); - -static cl::opt<bool> EnableUnsafeFPMath("enable-unsafe-fp-math", cl::desc("Enable optimizations that may decrease FP precision"), cl::init(false)); @@ -236,7 +231,6 @@ LTOModule *LTOModule::makeLTOModule(const void *mem, size_t length, void LTOModule::getTargetOptions(TargetOptions &Options) { Options.LessPreciseFPMADOption = EnableFPMAD; Options.NoFramePointerElim = DisableFPElim; - Options.NoFramePointerElimNonLeaf = DisableFPElimNonLeaf; Options.AllowFPOpFusion = FuseFPOps; Options.UnsafeFPMath = EnableUnsafeFPMath; Options.NoInfsFPMath = EnableNoInfsFPMath; |