Fix ARCOpt to insert releases on both successors of an invoke rather
authorDan Gohman <gohman@apple.com>
Thu, 16 Jun 2011 20:57:14 +0000 (20:57 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 16 Jun 2011 20:57:14 +0000 (20:57 +0000)
commit0860d0ba2f14e62572434cd159a086f91b20895d
treefe5281bdec6c540a153d3eea3db6cedc6a86c1fa
parent714c0eb811340a41a602509b70ca83cd4b2f2868
Fix ARCOpt to insert releases on both successors of an invoke rather
than trying to insert them immediately after the invoke.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ObjCARC.cpp
test/Transforms/ObjCARC/invoke.ll [new file with mode: 0644]