Adds a SelectionDAG node X86SegAlloca which will be custom lowered
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Aug 2011 19:43:21 +0000 (19:43 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Aug 2011 19:43:21 +0000 (19:43 +0000)
commitd07b7ec77203d4dbaf426786912a700cc07f0142
tree39d91f803cea838c0191717492055699695fb3d1
parent76927d758657b3a511c73467ec5a7288795c1513
Adds a SelectionDAG node X86SegAlloca which will be custom lowered
from DYNAMIC_STACKALLOC.

Two new pseudo instructions (SEG_ALLOCA_32 and SEG_ALLOCA_64) which
will match X86SegAlloca (based on word size) are also added.  They
will be custom emitted to inject the actual stack handling code.

Patch by Sanjoy Das.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138814 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrCompiler.td
lib/Target/X86/X86InstrInfo.td