Unify CALLSEQ_{START,END}. They take 4 parameters: the chain, two stack
authorBill Wendling <isanbard@gmail.com>
Tue, 13 Nov 2007 00:44:25 +0000 (00:44 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 13 Nov 2007 00:44:25 +0000 (00:44 +0000)
commit0f8d9c04d9feef86cee35cf5fecfb348a6b3de50
treeff1ec5ac7bcbe29e732b1a10fe515e14cfc39d44
parent3ba3a9b586b4590edb572ed05391fc737117ee27
Unify CALLSEQ_{START,END}. They take 4 parameters: the chain, two stack
adjustment fields, and an optional flag. If there is a "dynamic_stackalloc" in
the code, make sure that it's bracketed by CALLSEQ_START and CALLSEQ_END. If
not, then there is the potential for the stack to be changed while the stack's
being used by another instruction (like a call).

This can only result in tears...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44037 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMRegisterInfo.cpp
lib/Target/Alpha/AlphaISelLowering.cpp
lib/Target/Alpha/AlphaInstrInfo.td
lib/Target/IA64/IA64ISelLowering.cpp
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsInstrInfo.td
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/Sparc/SparcISelDAGToDAG.cpp
lib/Target/Sparc/SparcInstrInfo.td
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrInfo.td