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)
commita5c536e1ee25daef4567e1e2a24b74f373b82011
treeddcd932266d4b1d7a4e1f3199352e91454d617af
parentd8f4950862aa2efcf0847f7185cdc2af436ff6f8
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.

llvm-svn: 187618
15 files changed:
llvm/include/llvm/CodeGen/CommandFlags.h
llvm/include/llvm/Target/TargetOptions.h
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/lib/Target/X86/X86RegisterInfo.cpp
llvm/test/CodeGen/ARM/alloc-no-stack-realign.ll
llvm/test/CodeGen/X86/2006-05-11-InstrSched.ll
llvm/test/CodeGen/X86/2008-07-19-movups-spills.ll
llvm/test/CodeGen/X86/stack-align.ll
llvm/test/Transforms/LoopVectorize/dbg.value.ll
llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll
llvm/tools/llc/llc.cpp
llvm/tools/lto/LTOModule.cpp
llvm/tools/opt/opt.cpp