Remove an instance where the 'unwind' instruction was created.
authorBill Wendling <isanbard@gmail.com>
Tue, 9 Aug 2011 01:09:21 +0000 (01:09 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 9 Aug 2011 01:09:21 +0000 (01:09 +0000)
commit4fa93b7ce153a3834a7e189026e7451bcc19a34a
treebaaebfaa3575677099f3dfba3b4ecf9af7dd2421
parenta2b552d0aec83b1d030b878a130c8fefafe4d3c3
Remove an instance where the 'unwind' instruction was created.

The 'unwind' instruction was acting essentially as a placeholder, because it
would be replaced at the end of this function by a branch to the "unwind
handler". The 'unwind' instruction is going away, so use 'unreachable' instead,
which serves the same purpose as a placeholder.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137098 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LowerInvoke.cpp