From: Reid Kleckner Date: Fri, 17 Apr 2015 01:09:53 +0000 (+0000) Subject: Fix test failure due to racing commits X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4a10888e074e31ff3f573f069aaaaeb760b6ecfb;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235156 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/WinEH/seh-prepared-basic.ll b/test/CodeGen/WinEH/seh-prepared-basic.ll index a7c38814fe0..880bb3c33a8 100644 --- a/test/CodeGen/WinEH/seh-prepared-basic.ll +++ b/test/CodeGen/WinEH/seh-prepared-basic.ll @@ -17,14 +17,14 @@ target triple = "x86_64-pc-windows-msvc" ; Function Attrs: uwtable define void @do_except() #0 { entry: - call void (...)* @llvm.frameescape() + call void (...) @llvm.frameescape() invoke void @g() #5 to label %__try.cont unwind label %lpad1 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*) - %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] __try.cont: ; preds = %lpad1, %entry diff --git a/test/CodeGen/X86/win_eh_prepare.ll b/test/CodeGen/X86/win_eh_prepare.ll index 48f3ca4f7ee..a33dd92ad72 100644 --- a/test/CodeGen/X86/win_eh_prepare.ll +++ b/test/CodeGen/X86/win_eh_prepare.ll @@ -46,7 +46,7 @@ define internal i32 @filt_g(i8*, i8*) { ; CHECK: landingpad ; CHECK-NEXT: cleanup ; 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