From: Benjamin Kramer Date: Sat, 26 Dec 2015 11:40:48 +0000 (+0000) Subject: Fix safepoint intrinsic signatures in test. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1c6a388c076581129a11b8db313752cf354dd682;p=oota-llvm.git Fix safepoint intrinsic signatures in test. Should bring back the bots after r256443. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256450 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/RewriteStatepointsForGC/base-pointers-12.ll b/test/Transforms/RewriteStatepointsForGC/base-pointers-12.ll index fbe1207e6c1..5ebff642347 100644 --- a/test/Transforms/RewriteStatepointsForGC/base-pointers-12.ll +++ b/test/Transforms/RewriteStatepointsForGC/base-pointers-12.ll @@ -8,7 +8,7 @@ define i8 @test(i1 %cond) gc "statepoint-example" { %derived1 = getelementptr i8, i8 addrspace(1)* @global, i64 1 %derived2 = getelementptr i8, i8 addrspace(1)* @global, i64 2 %select = select i1 %cond, i8 addrspace(1)* %derived1, i8 addrspace(1)* %derived2 - %safepoint_token = call i32 (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 2882400000, i32 0, void ()* @extern, i32 0, i32 0, i32 0, i32 0) + %safepoint_token = call token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 2882400000, i32 0, void ()* @extern, i32 0, i32 0, i32 0, i32 0) ; CHECK-NOT: relocate ; CHECK: %load = load i8, i8 addrspace(1)* %select %load = load i8, i8 addrspace(1)* %select @@ -17,4 +17,4 @@ define i8 @test(i1 %cond) gc "statepoint-example" { declare void @extern() gc "statepoint-example" -declare i32 @llvm.experimental.gc.statepoint.p0f_isVoidf(i64, i32, void ()*, i32, i32, ...) +declare token @llvm.experimental.gc.statepoint.p0f_isVoidf(i64, i32, void ()*, i32, i32, ...) diff --git a/test/Transforms/RewriteStatepointsForGC/base-pointers-13.ll b/test/Transforms/RewriteStatepointsForGC/base-pointers-13.ll index 65782c27c98..8e43e638f98 100644 --- a/test/Transforms/RewriteStatepointsForGC/base-pointers-13.ll +++ b/test/Transforms/RewriteStatepointsForGC/base-pointers-13.ll @@ -6,7 +6,7 @@ define i8 @test(i64 %offset) gc "statepoint-example" { %derived = getelementptr i8, i8 addrspace(1)* @global, i64 %offset - %safepoint_token = call i32 (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 2882400000, i32 0, void ()* @extern, i32 0, i32 0, i32 0, i32 0) + %safepoint_token = call token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidf(i64 2882400000, i32 0, void ()* @extern, i32 0, i32 0, i32 0, i32 0) ; CHECK-NOT: relocate ; CHECK-NOT: remat ; CHECK: %load = load i8, i8 addrspace(1)* %derived @@ -16,4 +16,4 @@ define i8 @test(i64 %offset) gc "statepoint-example" { declare void @extern() gc "statepoint-example" -declare i32 @llvm.experimental.gc.statepoint.p0f_isVoidf(i64, i32, void ()*, i32, i32, ...) +declare token @llvm.experimental.gc.statepoint.p0f_isVoidf(i64, i32, void ()*, i32, i32, ...)