More closely follow libgcc, which has code after the `ret' instruction to
authorBill Wendling <isanbard@gmail.com>
Thu, 13 Oct 2011 08:24:19 +0000 (08:24 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 13 Oct 2011 08:24:19 +0000 (08:24 +0000)
commit4e68054b20725f6ec1cac33630258f749fe5debe
tree567971bd64446d5d55dfa774d96ce8f9c87601b6
parent1203fe7fc80d0fe16a30ae3ddb9b0823b17f39ce
More closely follow libgcc, which has code after the `ret' instruction to
release the stack segment and reset the stack pointer. Place the code in its own
MBB to make the verifier happy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/segmented-stacks.ll