Fix PR4645 which was fallout from the fix for PR4641.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 29 Jul 2009 22:00:43 +0000 (22:00 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 29 Jul 2009 22:00:43 +0000 (22:00 +0000)
commit473955f439b44eed4c5230ad6f9d51bcb62a3b21
treedd914bb1a66d2c1f37d357763bd0ecc746db572b
parent5316bf0252ce9797e90a233645b6580695403837
Fix PR4645 which was fallout from the fix for PR4641.
 - Call RAUW to delete all instructions (this is a patch from Nick Lewycky).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77512 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/2009-07-29-Exit2.ll [new file with mode: 0644]