Replace the "NoFramePointerElimNonLeaf" target option with a function attribute.
authorBill Wendling <isanbard@gmail.com>
Thu, 25 Jul 2013 00:34:29 +0000 (00:34 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 25 Jul 2013 00:34:29 +0000 (00:34 +0000)
commitf245ae5a4a78d5a02b3b9e2dae819077a56d81e7
tree517ee29a63e853faa1a41509e465915e597ad8fc
parent9b344d920f6b3496885094bd2f364453cb8d968f
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
include/llvm/CodeGen/CommandFlags.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/TargetOptionsImpl.cpp
lib/IR/Attributes.cpp
lib/Target/TargetMachine.cpp
test/CodeGen/X86/fp-elim.ll
test/CodeGen/X86/leaf-fp-elim.ll
test/DebugInfo/2010-05-03-DisableFramePtr.ll
tools/llc/llc.cpp
tools/lto/LTOModule.cpp
tools/opt/opt.cpp