diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-12-14 18:34:23 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-12-14 18:34:23 +0000 |
commit | 868145efb053c3f9294676cf4f36d6220e500269 (patch) | |
tree | 36ef0691fa576ed03f0013a9f2d06fb4d35f0379 /test/CodeGen/WinEH | |
parent | 16cba6923a59f37985c34484a64879b7bca263bd (diff) |
[IR] Remove terminatepad
It turns out that terminatepad gives little benefit over a cleanuppad
which calls the termination function. This is not sufficient to
implement fully generic filters but MSVC doesn't support them which
makes terminatepad a little over-designed.
Depends on D15478.
Differential Revision: http://reviews.llvm.org/D15479
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/WinEH')
-rw-r--r-- | test/CodeGen/WinEH/wineh-no-demotion.ll | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/CodeGen/WinEH/wineh-no-demotion.ll b/test/CodeGen/WinEH/wineh-no-demotion.ll index 7d18238c003..ab094aeebf5 100644 --- a/test/CodeGen/WinEH/wineh-no-demotion.ll +++ b/test/CodeGen/WinEH/wineh-no-demotion.ll @@ -93,22 +93,6 @@ exit: unreachable } -; CHECK-LABEL: @test3( -define void @test3() personality i32 (...)* @__CxxFrameHandler3 { -entry: - invoke void @f() - to label %invoke.cont unwind label %terminate - -invoke.cont: - ret void - -terminate: -; CHECK: cleanuppad within none [] -; CHECK: call void @__std_terminate() -; CHECK: unreachable - terminatepad within none [void ()* @__std_terminate] unwind to caller -} - ; CHECK-LABEL: @test4( define void @test4(i1 %x) personality i32 (...)* @__CxxFrameHandler3 { entry: |