[WinEH] Sink UnwindHelp completely out of IR
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 3 Apr 2015 22:32:26 +0000 (22:32 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 3 Apr 2015 22:32:26 +0000 (22:32 +0000)
commitf89ce9a09d44506828e5397bdbe378addbbcf9bd
tree6c0259d6b34d68538b2850b9a90346bd594a3eff
parent2902e1ca869ade6c53e565431417a64cbcd3f6d5
[WinEH] Sink UnwindHelp completely out of IR

We don't need to represent UnwindHelp in IR.  Instead, we can use the
knowledge that we are emitting the parent function to decide if we
should create the UnwindHelp stack object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234061 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ExceptionHandling.rst
include/llvm/CodeGen/MachineFrameInfo.h
include/llvm/IR/Intrinsics.td
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/WinEHPrepare.cpp
lib/IR/Verifier.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/WinEH/cppeh-catch-unwind.ll
test/CodeGen/WinEH/cppeh-multi-catch.ll
test/CodeGen/WinEH/cppeh-prepared-catch.ll
test/CodeGen/WinEH/cppeh-prepared-cleanups.ll