Update the tests to the new EH scheme.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2011-08-31 20:55:40 +00:00
parent 4f8aaa0928
commit b072dd9ba4
5 changed files with 26 additions and 5 deletions

View File

@@ -90,6 +90,8 @@ A:
%c = call i64 @test4c(i64 %b)
ret i64 %c
B:
%val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
catch i8* null
ret i64 0
}
; CHECK: define i64 @test4b()
@@ -121,6 +123,8 @@ A:
%c = call i64 @test5c({i64,i64} %a)
ret i64 %c
B:
%val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
catch i8* null
ret i64 0
}
@@ -204,3 +208,4 @@ entry:
ret void
}
declare i32 @__gxx_personality_v0(...)