Fix PR3807 by inserting 'insertelement' instructions in the normal dest of
authorChris Lattner <sabre@nondot.org>
Wed, 18 Mar 2009 00:31:45 +0000 (00:31 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 18 Mar 2009 00:31:45 +0000 (00:31 +0000)
commitbda0765e0763cd7d9b0980328fc1d718a6773628
tree00662c885f650072655098e5ed710756f4f43980
parent64ec298e689edb8e3eae5bdd4bb4ae6584519bdb
Fix PR3807 by inserting 'insertelement' instructions in the normal dest of
an invoke instead of after the invoke (in its block), which is invalid.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67139 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/DeadArgumentElimination.cpp
test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll [new file with mode: 0644]