Revert "Don't remove a landing pad if the invoke requires a table entry."
authorReid Kleckner <reid@kleckner.net>
Thu, 22 Jan 2015 19:29:46 +0000 (19:29 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 22 Jan 2015 19:29:46 +0000 (19:29 +0000)
commitf12b33454f49b3dd084a9c3364bd2c4a39b19f71
tree3a35407b3329f93f724dba2330205f853774a218
parent5e6f45201f0b62c1e7a24fc396f3ea6e10dc880d
Revert "Don't remove a landing pad if the invoke requires a table entry."

This reverts commit r176827.

Björn Steinbrink pointed out that this didn't actually fix the bug
(PR15555) it was attempting to fix.

With this reverted, we can now remove landingpad cleanups that
immediately resume unwinding, converting the invoke to a call.

llvm-svn: 226850
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/trivial-throw.ll [deleted file]