summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WinEH
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-12-14 18:34:23 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-12-14 18:34:23 +0000
commitbbfc7219ef121d345784b0c080a268beb051c736 (patch)
treedf2b7b2e6f57615a58d0d86aef7fa03081649176 /llvm/test/CodeGen/WinEH
parentfeeefb214dfa398df4cec92b1e9f3e3219d3944f (diff)
downloadbcm5719-llvm-bbfc7219ef121d345784b0c080a268beb051c736.tar.gz
bcm5719-llvm-bbfc7219ef121d345784b0c080a268beb051c736.zip
[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 llvm-svn: 255522
Diffstat (limited to 'llvm/test/CodeGen/WinEH')
-rw-r--r--llvm/test/CodeGen/WinEH/wineh-no-demotion.ll16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll b/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll
index 7d18238c003..ab094aeebf5 100644
--- a/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud