1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Fix test failure due to racing commits

It looks like r235145 changed the .ll syntax for variadic calls. Update
tests to use the new syntax.

llvm-svn: 235156
This commit is contained in:
Reid Kleckner 2015-04-17 01:09:53 +00:00
parent 105f3df302
commit 560ebfc81d
2 changed files with 4 additions and 4 deletions

View File

@ -17,14 +17,14 @@ target triple = "x86_64-pc-windows-msvc"
; Function Attrs: uwtable ; Function Attrs: uwtable
define void @do_except() #0 { define void @do_except() #0 {
entry: entry:
call void (...)* @llvm.frameescape() call void (...) @llvm.frameescape()
invoke void @g() #5 invoke void @g() #5
to label %__try.cont unwind label %lpad1 to label %__try.cont unwind label %lpad1
lpad1: ; preds = %entry lpad1: ; preds = %entry
%0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*) %ehvals = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)
catch i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@do_except@@" to i8*) catch i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@do_except@@" to i8*)
%recover = call i8* (...)* @llvm.eh.actions(i32 1, i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@do_except@@" to i8*), i32 -1, i8* blockaddress(@do_except, %__try.cont)) %recover = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0@0@do_except@@" to i8*), i32 -1, i8* blockaddress(@do_except, %__try.cont))
indirectbr i8* %recover, [label %__try.cont] indirectbr i8* %recover, [label %__try.cont]
__try.cont: ; preds = %lpad1, %entry __try.cont: ; preds = %lpad1, %entry

View File

@ -46,7 +46,7 @@ define internal i32 @filt_g(i8*, i8*) {
; CHECK: landingpad ; CHECK: landingpad
; CHECK-NEXT: cleanup ; CHECK-NEXT: cleanup
; CHECK-NEXT: catch ; CHECK-NEXT: catch
; CHECK-NEXT: call i8* (...)* @llvm.eh.actions({{.*}}) ; CHECK-NEXT: call i8* (...) @llvm.eh.actions({{.*}})
; A MinGW64-ish EH style. It could happen if a binary uses both MSVC CRT and ; A MinGW64-ish EH style. It could happen if a binary uses both MSVC CRT and