diff options
Diffstat (limited to 'test/Transforms/CorrelatedValuePropagation')
-rw-r--r-- | test/Transforms/CorrelatedValuePropagation/alloca.ll | 8 | ||||
-rw-r--r-- | test/Transforms/CorrelatedValuePropagation/basic.ll | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/Transforms/CorrelatedValuePropagation/alloca.ll b/test/Transforms/CorrelatedValuePropagation/alloca.ll index 0a6ba675a477..37b27b29445c 100644 --- a/test/Transforms/CorrelatedValuePropagation/alloca.ll +++ b/test/Transforms/CorrelatedValuePropagation/alloca.ll @@ -13,14 +13,14 @@ target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"a = %l\0A\00", align 1 ; Function Attrs: argmemonly nounwind -declare void @llvm.lifetime.start(i64, i8* nocapture) +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) declare void @hoo(i64*) declare i32 @printf(i8* nocapture readonly, ...) ; Function Attrs: argmemonly nounwind -declare void @llvm.lifetime.end(i64, i8* nocapture) +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) define void @goo(i32 %N, i64* %b) { entry: @@ -35,12 +35,12 @@ for.cond: ; preds = %for.body, %entry br i1 %cmp, label %for.body, label %for.end for.body: ; preds = %for.cond - call void @llvm.lifetime.start(i64 8, i8* %tmp) + call void @llvm.lifetime.start.p0i8(i64 8, i8* %tmp) call void @hoo(i64* %a.i) call void @hoo(i64* %c) %tmp1 = load volatile i64, i64* %a.i, align 8 %call.i = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i64 %tmp1) - call void @llvm.lifetime.end(i64 8, i8* %tmp) + call void @llvm.lifetime.end.p0i8(i64 8, i8* %tmp) %inc = add nsw i32 %i.0, 1 br label %for.cond diff --git a/test/Transforms/CorrelatedValuePropagation/basic.ll b/test/Transforms/CorrelatedValuePropagation/basic.ll index 9836c7f80778..14b9a1999cc3 100644 --- a/test/Transforms/CorrelatedValuePropagation/basic.ll +++ b/test/Transforms/CorrelatedValuePropagation/basic.ll @@ -115,9 +115,9 @@ negative: i32 1, label %out ; CHECK-NOT: i32 1 i32 -1, label %next -; CHECK: i32 -1, label %next +; CHECK-DAG: i32 -1, label %next i32 -2, label %next -; CHECK: i32 -2, label %next +; CHECK-DAG: i32 -2, label %next i32 2, label %out ; CHECK-NOT: i32 2 i32 3, label %out |