Add support for the llvm.unwind intrinsic, which we codegen to just do an abort
authorChris Lattner <sabre@nondot.org>
Thu, 28 Aug 2003 21:23:43 +0000 (21:23 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 28 Aug 2003 21:23:43 +0000 (21:23 +0000)
commitaeb54b882c0ca460517b90c634d2846c5c2aaab3
treed3d879208e18e89c70e361b016809b6307ae3aa3
parent81f0dbdc23235db3f056e7170c7cc1da1b3103f8
Add support for the llvm.unwind intrinsic, which we codegen to just do an abort
until we implement unwinding.
Add support for the invoke instruction, which codegens just like a call with
a branch after it.

The end effect of this change is that programs using the invoke instruction,
but never unwinding, will work fine.  Programs that unwind will abort until
we get unwind support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp