Change CALLSEQ_BEGIN and CALLSEQ_END to take TargetConstant's as
authorChris Lattner <sabre@nondot.org>
Sat, 11 Oct 2008 22:08:30 +0000 (22:08 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 11 Oct 2008 22:08:30 +0000 (22:08 +0000)
commite563bbc312f8b11ecfe12b8187176f667df1dff3
treea37bbcd7f9c678ffb63af61962f1d0fb13b345a9
parent119c30b95545c223b7111a4a03100470387f76fc
Change CALLSEQ_BEGIN and CALLSEQ_END to take TargetConstant's as
parameters instead of raw Constants.  This prevents the constants from
being selected by the isel pass, fixing PR2735.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57385 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/Alpha/AlphaISelLowering.cpp
lib/Target/Alpha/AlphaInstrInfo.td
lib/Target/CellSPU/SPUISelLowering.cpp
lib/Target/CellSPU/SPUInstrInfo.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/SparcISelLowering.cpp
lib/Target/Sparc/SparcInstrInfo.td
lib/Target/TargetSelectionDAG.td
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/2008-10-11-CallCrash.ll [new file with mode: 0644]