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)
commit7ed0364cee76de015ada95cfe08073e3b8cba825
treeb3891e8e314f84bf6b3a494dda8caeb64f5dc6ef
parentbcbb8690cb8ea727310d9604a4e4e5fa27b060df
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/trivial-throw.ll [deleted file]