summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Feature/exception.ll69
-rw-r--r--llvm/test/Verifier/invoke.ll4
2 files changed, 2 insertions, 71 deletions
diff --git a/llvm/test/Feature/exception.ll b/llvm/test/Feature/exception.ll
index 3befbcd2430..7568ecfa5f7 100644
--- a/llvm/test/Feature/exception.ll
+++ b/llvm/test/Feature/exception.ll
@@ -25,72 +25,3 @@ lpad: ; preds = %entry
declare void @_Z3quxv() optsize
declare i32 @__gxx_personality_v0(...)
-
-define void @cleanupret0() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- cleanupret i8 0 unwind label %bb
-bb:
- ret void
-}
-
-define void @cleanupret1() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- cleanupret void unwind label %bb
-bb:
- ret void
-}
-
-define void @cleanupret2() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- cleanupret i8 0 unwind to caller
-}
-
-define void @cleanupret3() personality i32 (...)* @__gxx_personality_v0 {
- cleanupret void unwind to caller
-}
-
-define void @catchret() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- br label %bb
-bb:
- catchret label %bb
-}
-
-define i8 @catchblock() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- br label %bb2
-bb:
- ret i8 %cbv
-bb2:
- %cbv = catchblock i8 [i7 4] to label %bb unwind label %bb2
-}
-
-define void @terminateblock0() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- br label %bb
-bb:
- terminateblock [i7 4] unwind label %bb
-}
-
-define void @terminateblock1() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- terminateblock [i7 4] unwind to caller
-}
-
-define void @cleanupblock() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- cleanupblock void [i7 4]
- ret void
-}
-
-define void @catchendblock0() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- br label %bb
-bb:
- catchendblock unwind label %bb
-}
-
-define void @catchendblock1() personality i32 (...)* @__gxx_personality_v0 {
-entry:
- catchendblock unwind to caller
-}
diff --git a/llvm/test/Verifier/invoke.ll b/llvm/test/Verifier/invoke.ll
index 8fa9923c0cb..b56b72f84b9 100644
--- a/llvm/test/Verifier/invoke.ll
+++ b/llvm/test/Verifier/invoke.ll
@@ -2,7 +2,7 @@
; PR1042
define i32 @foo() {
-; CHECK: The unwind destination does not have an exception handling instruction
+; CHECK: The unwind destination does not have a landingpad instruction
%A = invoke i32 @foo( )
to label %L unwind label %L ; <i32> [#uses=1]
L: ; preds = %0, %0
@@ -18,7 +18,7 @@ L1: ; preds = %0
L2: ; preds = %0
br label %L
L: ; preds = %L2, %L1, %L1
-; CHECK: The unwind destination does not have an exception handling instruction
+; CHECK: The unwind destination does not have a landingpad instruction
ret i32 %A
}
OpenPOWER on IntegriCloud