Use function attributes to indicate that we don't want to realign the stack.
authorBill Wendling <isanbard@gmail.com>
Thu, 1 Aug 2013 21:42:05 +0000 (21:42 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 1 Aug 2013 21:42:05 +0000 (21:42 +0000)
commit61fc8d670f1e991804c2ab753e567981e60962cb
tree01bf0e1eba2709eb4608e1e00504425452f66a53
parent8cb1d81250ab0957f956146af7bfe62cdd0a9f3e
Use function attributes to indicate that we don't want to realign the stack.

Function attributes are the future! So just query whether we want to realign the
stack directly from the function instead of through a random target options
structure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187618 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/CodeGen/CommandFlags.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/MachineFunction.cpp
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/PowerPC/PPCRegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.cpp
test/CodeGen/ARM/alloc-no-stack-realign.ll
test/CodeGen/X86/2006-05-11-InstrSched.ll
test/CodeGen/X86/2008-07-19-movups-spills.ll
test/CodeGen/X86/stack-align.ll
test/Transforms/LoopVectorize/dbg.value.ll
test/Transforms/SimplifyCFG/volatile-phioper.ll
tools/llc/llc.cpp
tools/lto/LTOModule.cpp
tools/opt/opt.cpp